NO:
W90P710 Programming Guide
VERSION:
2.1
PAGE:
7
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
9.14
Check running state and process interrupt status............................................................... 126
10
Audio Controller...................................................................................................................... 128
10.1
Overview............................................................................................................................. 128
10.2
Block Diagram .................................................................................................................... 129
10.3
Registers ............................................................................................................................ 130
10.4
AC97 Interface.................................................................................................................... 130
10.4.1
Cold Reset External AC97 Codec ............................................................................... 132
10.4.2
Read AC97 Registers.................................................................................................. 132
10.4.3
Write AC97 Registers .................................................................................................. 134
10.4.4
AC97 Playback ............................................................................................................ 135
10.4.5
AC97 Record ............................................................................................................... 137
10.5
I2S Interface ....................................................................................................................... 138
10.5.1
I2S Play ....................................................................................................................... 138
10.5.2
I2S Record................................................................................................................... 140
11
UART ..................................................................................................................................... 142
11.1
Overview............................................................................................................................. 142
11.2
Registers ............................................................................................................................ 142
11.3
Functional Descriptions ...................................................................................................... 144
11.3.1
Baud Rate.................................................................................................................... 144
11.3.2
Initializations ................................................................................................................ 145
11.3.3
Polled I/O Functions .................................................................................................... 147
11.3.4
Interrupted I/O Functions ............................................................................................. 148
11.3.5
IrDA SIR ...................................................................................................................... 153
12
Timers .................................................................................................................................... 154
12.1
Overview............................................................................................................................. 154
12.2
Block Diagram .................................................................................................................... 155
12.3
Registers ............................................................................................................................ 155
12.4
Functional Descriptions ...................................................................................................... 156
12.4.1
Interrupt Frequency ..................................................................................................... 156
12.4.2
Initialization.................................................................................................................. 156
12.4.3
Timer Interrupt Service Routine................................................................................... 159
12.4.4
Watchdog Timer .......................................................................................................... 160
13
AIC (Advanced Interrupt Controller) ....................................................................................... 163