NO:
W90P710 Programming Guide
VERSION:
2.1
PAGE:
8
The above information is the exclusive intellectual property of Winbond Electronics and shall not be disclosed,
distributed or reproduced without permission from Winbond.
Table No.: 1200-0003-07-A
13.1
Overview............................................................................................................................. 163
13.2
Block Diagram .................................................................................................................... 164
13.3
Registers ............................................................................................................................ 165
13.4
Functional Descriptions ...................................................................................................... 167
13.4.1
Interrupt channel configuration .................................................................................... 167
13.4.2
Interrupt Masking......................................................................................................... 167
13.4.3
Interrupt Clearing and Setting...................................................................................... 168
13.4.4
Software Priority Scheme ............................................................................................ 168
13.4.5
Hardware Priority Scheme........................................................................................... 171
14
General-Purpose Input/Output (GPIO) ................................................................................... 174
14.1
Overview............................................................................................................................. 174
14.2
Register Map ...................................................................................................................... 176
14.3
Functional Description ........................................................................................................ 177
14.3.1
Multiple Functin Setting ............................................................................................... 177
14.3.2
GPIO Output Mode...................................................................................................... 178
14.3.3
GPIO Input Mode......................................................................................................... 179
15
Real Time Clock (RTC) .......................................................................................................... 181
15.1
Overview............................................................................................................................. 181
15.2
Block Diagram .................................................................................................................... 182
15.3
Register Map ...................................................................................................................... 182
15.4
Functional Description ........................................................................................................ 183
15.4.1
Initialization.................................................................................................................. 183
15.4.2
RTC Read/Write Enable .............................................................................................. 183
15.4.3
Frequency Compensation............................................................................................ 183
15.4.4
Application Note .......................................................................................................... 184
15.5
Programming Note.............................................................................................................. 185
15.5.2
Set Calendar and Time Alarm ..................................................................................... 187
15.5.3
Set tick interrupt........................................................................................................... 189
16
Smart Card Host Interface...................................................................................................... 191
16.1
Overview............................................................................................................................. 191
16.2
Registers ............................................................................................................................ 191
16.3
Functional Description ........................................................................................................ 193
16.3.1
Initialization Sequence................................................................................................. 193