| Electronic Components Datasheet Search |
|
78P156 Datasheet(PDF) 5 Page - ELAN Microelectronics Corp |
|
|
|||||||||||||||||||||||||||||
78P156 Datasheet(HTML) 5 Page - ELAN Microelectronics Corp |
|
5 / 28 page ![]() * This specification is subject to be changed without notice. 8.11.1999 B3-5 EM78P156E 4. R3 (Status Register) 7 6 5432 10 GP2 GP1 GP0 T P Z DC C • Bit 0 (C) Carry flag • Bit 1 (DC) Auxiliary carry flag • Bit 2 (Z) Zero flag. Set to "1" if the result of an arithmetic or logic operation is zero. • Bit 3 (P) Power-down bit. Set to 1 during power-on or by a “WDTC” command and reset to 0 by a “SLEP” command. • Bit 4 (T) Time-out bit. Set to 1 by the “SLEP” and “WDTC” commands, or during power-up and reset to 0 by WDT time-out. • Bit 5~7 (GP0~2) General-purpose read/write bits. 5. R4 (RAM Select Register) • Bits 0 ~ 5 are used to select registers (address: 00~06, 0F~3F) in the indirect addressing mode. • Bits 6 ~ 7 are general-purpose read/write bits. • See the configuration of the data memory in Fig.4. 6. R5 ~ R6 (Port 5 ~ Port 6) • R5 and R6 are I/O registers. • Only the lower 4 bits of R5 are available. 7. RF (Interrupt Status Register) 7 6 5 4 32 10 - - - - - EXIF ICIF TCIF • "1" means interrupt request, and "0" means non-interrupt occurence. • Bit 0 (TCIF) TCC overflowing interrupt flag. Set when TCC timer overflows, reset by software. • Bit 1 (ICIF) Port 6 input status changed interrupt flag. Set when Port 6 input changes, reset by software. • Bit 2 (EXIF) External interrupt flag. Set by falling edge on /INT pin, reset by software. • Bits 3 ~ 7 Not used. • RF can be cleared by instruction but can not be set. • IOCF is the interrupt mask register. • Note that the result of reading RF is the "logic AND" of RF and IOCF. 8. R10 ~ R3F • All of these are the 8-bit general-purpose registers. VI.2 Special Purpose Registers 1. A (Accumulator) |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |