| 전자부품 데이터시트 검색엔진 |
|
Z86C9620VSC 데이터시트(PDF) 23 Page - Zilog, Inc. |
|
|
|||||||||||||||||||||||||||||
Z86C9620VSC 데이터시트(HTML) 23 Page - Zilog, Inc. |
|
23 / 46 page ![]() 23 Z86C61/62/96 Z8® MICROCONTROLLER Stack. The Z86C61/62/96 has a 16-bit Stack Pointer (R255- R254) used for external stack that resides anywhere in the data memory for the ROMless mode, but only from 16384 to 65535 in the ROM mode. An 8-bit Stack Pointer (R255) is used for the internal stack that resides within the 236 general-purpose registers (R239-R4). The high byte of the Stack Pointer (SPH-Bit 8-15) can be used as a general purpose register when using internal stack only. Counter/Timers. There are two 8-bit programmable counter/timers (T0-T1), each driven by its own 6-bit pro- grammable prescaler. The T1 prescaler can be driven by internal or external clock sources; however, the T0 prescaler is driven by the internal clock only (Figure 22). The 6-bit prescalers can divide the input frequency of the clock source by any integer number from 1 to 64. Each prescaler drives its counter, which decrements the value (1 to 256) that has been loaded into the counter. When both the counters and prescaler reach the end of the count, a timer interrupt request, IRQ4 (T0) or IRQ5 (T1), is gener- ated. The counter can be programmed to start, stop, restart to continue, or restart from the initial value. The counters can also be programmed to stop upon reaching zero (single pass mode) or to automatically reload the initial value and continue counting (modulo-n continuous mode). The counter, but not the prescalers, can be read at any time without disturbing their value or count mode. The clock source for T1 is user-definable and can be either the internal microprocessor clock divided-by-four, or an exter- nal signal input through Port 3. The Timer Mode register configures the external timer input (P31) as an external clock, a trigger input that can be retriggerable or non- retriggerable, or as a gate input for the internal clock. Port 3, line P36, also serves as a timer output (T OUT) through which T0, T1 or the internal clock can be output. The counter/timers can be cascaded by connecting the T0 output to the input of T1. ROM Protect. The first 16 Kbytes of program memory is mask programmable. A ROM protect feature prevents “dumping” of the ROM contents by inhibiting execution of LDC, LDCI, LDE, and LDEI instructions by external pro- gram memory when pointing to internal memory locations. Therefore these instructions can be used only when they are executed from internal memory, or if they are executed from external memory and pointing to external memory locations. The ROM Protect option is mask-programmable, to be selected by the customer at the time when the ROM code is submitted. The upper nibble of the register file address provided by the register pointer specifies the active working-register group. r7 r6 r5 r4 R253 (Register Pointer) I/O Ports Specified Working Register Group The lower nibble of the register file address provided by the instruction points to the specified register. r3 r2 r1 r0 Register Group 1 Register Group 0 R15 to R0 Register Group F R15 to R4* R3 to R0* FF F0 7F 70 6F 60 5F 50 4F 40 3F 2F 30 20 1F 10 0F 00 * Expanded Register Group (0) is selected in this figure by handling bits D3 to D0 as "0" in Register R253 (RP). EF 80 Figure 21. Register Pointer |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| 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 |