![CMOSTEK CMT2189C Скачать руководство пользователя страница 66](http://html1.mh-extra.com/html/cmostek/cmt2189c/cmt2189c_user-manualline_2627489066.webp)
AN202
V1.0 | Page 66/73
www.cmostek.com
the data register read by the last reading action.All error matching results will be OR to form an interrupt flag
bit. The PAIF flag bit of the INTCON register can wake the chip from the sleep status.The user needs to
execute the following program to clear the flag bit:
1. A read or write operation to the PORTA will end any mismatched status;
2. Clear the PAIF flag bit.
The error matching result will always set the PAIF bit. Reading the PORTA once can end any status of error
matching and clear the PAIF bit. The last read value kept in the data register will not be affected by /MCLR or
BOR. As long as the error matching status exists, the PAIF bit is set to 1.
16.3
Port Description
Each port of PORTA and PORTC contains different reuse functions. Its specific functions and controls are
described in this section.
16.3.1
PORTA<2:0>
The following figure describes the internal circuit architecture of the port, and PA<2:0> can be configured as
the following functional port:
GPIO
Debug serial clock (PA0)
Debug serial data (PA1)
External interrupt input (PA2)
Timer0 external clock source (PA2)
Содержание CMT2189C
Страница 32: ...AN202 V1 0 Page 32 73 www cmostek com...