Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Spanish  ▼
ALLDATASHEET.ES

X  

PMS232 Datasheet(PDF) 29 Page - PADAUK Technology.

No. de pieza PMS232
Descripción Electrónicos  12-bit ADC Enhanced
PDF  94 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  PADAUK [PADAUK Technology.]
Página de inicio  http://www.padauk.com.tw/
Logo PADAUK - PADAUK Technology.

PMS232 Datasheet(HTML) 29 Page - PADAUK Technology.

Back Button PMS232 Datasheet HTML 25Page - PADAUK Technology. PMS232 Datasheet HTML 26Page - PADAUK Technology. PMS232 Datasheet HTML 27Page - PADAUK Technology. PMS232 Datasheet HTML 28Page - PADAUK Technology. PMS232 Datasheet HTML 29Page - PADAUK Technology. PMS232 Datasheet HTML 30Page - PADAUK Technology. PMS232 Datasheet HTML 31Page - PADAUK Technology. PMS232 Datasheet HTML 32Page - PADAUK Technology. PMS232 Datasheet HTML 33Page - PADAUK Technology. Next Button
Zoom Inzoom in Zoom Outzoom out
 29 / 94 page
background image
PMC232/PMS232 Series
12-bit ADC Enhanced FPPA
TM
8-bit OTP Controller
©Copyright 2018, PADAUK Technology Co. Ltd
Page 29 of 94
PDK-DS-PMx232_V104– Dec. 18, 2018
5-1-1. Program Counter
Program Counter (PC) is the unit that contains the address of an instruction to be executed next. The
program counter is automatically incremented at each instruction cycle so that instructions are retrieved
sequentially from the program memory. Certain instructions, such as branches and subroutine calls, interrupt
the sequence by placing a new value in the program counter. The bit length of the program counter is 12 for
PMC232/PMS232. The program counter of FPP0 is 0 after hardware reset and 1 for FPP1. Whenever an
interrupt happens in FPP0, the program counter will jump to ’h10 for interrupt service routine. Each FPP unit
has its own program counter to control the program execution sequence.
5-1-2. Stack Pointer
The stack pointer in each processing unit is used to point the top of the stack area where the local variables
and parameters to subroutines are stored; the stack pointer register (sp) is located in IO address 0x02h. The
bit number of stack pointer is 8 bit; the stack memory cannot be accessed over 160 bytes and should be
defined within 160 bytes from 0x00h address. The stack memory of PMC232/PMS232 for each FPP unit can
be assigned by user via stack pointer register, means that the depth of stack pointer for each FPP unit is
adjustable in order to optimize system performance. The following example shows how to define the stack in
the ASM (assembly language) project:
﹒ROMADR
0
GOTO
FPPA0
GOTO
FPPA1
...
﹒RAMADR
0
// Address must be less than 0x100
WORD
Stack0 [1]
// one WORD
WORD
Stack1 [2]
// two WORD
...
FPPA0:
SP
=
Stack0;
// assign Stack0 for FPPA0,
// one level call because of Stack0[1]
...
call
function1
...
FPPA1:
SP
=
Stack1;
// assign Stack1 for FPPA1,
// two level call because of Stack1[2]
...
call
function2
...
In Mini-C project, the stack calculation is done by system software, user will not have effort on it, and the
example is shown as below:
void
FPPA0 (void)
{
...
}



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94


Datasheet Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com