![CMOSTEK CMT2189C Скачать руководство пользователя страница 20](http://html1.mh-extra.com/html/cmostek/cmt2189c/cmt2189c_user-manualline_2627489020.webp)
AN202
V1.0 | Page 20/73
www.cmostek.com
Table 4-6. FlagSituation in Each ResetStatus
/TF
/PF
Condition
1
1
Power on or low voltage reset
0
u
WDT reset
0
0
WDT wake-up
u
u
MCLR reset under the normal operation
1
0
MCLR reset in the sleep status
Note:
1. The Status register can also be the destination register for any instruction, like any other register. If
the Status register is the destination register for an instruction that affects the Z, HC, or C bit, then
the
“write” to these three bits is disabled. These bits are set to 1 or cleaned according to the device
logic.Therefore, the result of an instruction with the Status register as destination may be different
than intended.
2. It is suggested that only using the BCR, BSR, SWAPR and STR instructions to change the status
register.
4.1.5
PORTA
(
Addr:0x05
)
Table 4-7. PORTA Register
Name
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
PORTA
PA7
PA6
PA5
PA4
PA3
PA2
PA1
PA0
Reset
X
X
X
X
X
X
X
X
Type
RW
RW
R
RW
RW
RW
RW
RW
Table 4-8. PORTA Bit Function Description
Bit
Name
Function
7
PA7
PORTA7 data
6
PA6
PORTA6 data
5
PA5
PORTA5 only acts as the input.There is no corresponding output data register.
4
PA4
PORTA4 data
3
PA3
PORTA3 data
2
PA2
PORTA2 data
1
PA1
PORTA1 data
0
PA0
PORTA0 data
Содержание CMT2189C
Страница 32: ...AN202 V1 0 Page 32 73 www cmostek com...