BS2824 Holtek Semiconductor Inc., BS2824 Datasheet - Page 23

no-image

BS2824

Manufacturer Part Number
BS2824
Description
Touch Key Mcu
Manufacturer
Holtek Semiconductor Inc.
Datasheet
Rev. 1.00
STATUS Register
specify which pins are outputs and which are inputs before reading data from or writing data to the
I/O ports. One flexible feature of these registers is the ability to directly program single bits using the
vice versa by manipulating specific bits of the I/O control registers during normal program operation
is a useful feature of these devices.
SET [m].i and CLR [m].i instructions. The ability to change I/O pins from output to input and
Bit 7, 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Name
POR
R/W
Bit
Unimplemented, read as 0
TO: Watchdog Time-Out flag
PDF: Power down flag
OV: Overflow flag
Z: Zero flag
AC: Auxiliary flag
C: Carry flag
C is also affected by a rotate through carry instruction.
0: After power up or executing the CLR WDT or HALT instruction
1: A watchdog time-out occurred.
0: After power up or executing the CLR WDT instruction
1: By executing the HALT instruction
0: no overflow
1: an operation results in a carry into the highest-order bit but not a carry out of the
0: The result of an arithmetic or logical operation is not zero
1: The result of an arithmetic or logical operation is zero
0: no auxiliary carry
1: an operation results in a carry out of the low nibbles in addition, or no borrow from
0: no carry-out
1: an operation results in a carry during an addition operation or if a borrow does not
7
highest-order bit or vice versa.
the high nibble into the low nibble in subtraction
take place during a subtraction operation
6
TO
R
5
0
23
BS2824/BS2854/BS2868
PDF
R
4
0
R/W
OV
3
x
Touch Key MCU
R/W
2
Z
x
R/W
AC
1
x
January 27, 2010
x unknown
R/W
C
0
x

Related parts for BS2824