Fujitsu MB89950/950A Pager User Manual


 
ix
7.9 Program Example for 8-bit PWM Timer ............................................................................................ 138
CHAPTER 8 PULSE WIDTH COUNT TIMER (PWC) ................................................... 141
8.1 Overview of Pulse Width Count Timer .............................................................................................. 142
8.2 Block Diagram of Pulse Width Count Timer ..................................................................................... 144
8.3 Structure of Pulse Width Count Timer .............................................................................................. 146
8.3.1 PWC Pulse Width Control Register 1 (PCR1) ............................................................................. 148
8.3.2 PWC Pulse Width Control Register 2 (PCR2) ............................................................................. 150
8.3.3 PWC Reload Buffer Register (RLBR) .......................................................................................... 152
8.3.4 PWC Noise Filter Control Register (NCCR) ................................................................................ 154
8.4 Pulse Width Count Timer Interrupts .................................................................................................. 155
8.5 Operation of Interval Timer Function ................................................................................................ 156
8.6 Operation of Pulse Width Measurement Function ............................................................................ 159
8.7 Operation of Noise Filter Circuit ........................................................................................................ 162
8.8 States in Each Mode during Pulse Width Count Timer Operation .................................................... 163
8.9 Notes on Using Pulse Width Count Timer ........................................................................................ 164
8.10 Program Example for Timer Function of Pulse Width Count Timer .................................................. 165
CHAPTER 9 8-BIT SERIAL I/O ..................................................................................... 169
9.1 Overview of 8-bit Serial I/O ............................................................................................................... 170
9.2 Block Diagram of 8-bit Serial I/O ...................................................................................................... 171
9.3 Structure of 8-bit Serial I/O ............................................................................................................... 173
9.3.1 Serial Mode Register (SMR) ........................................................................................................ 176
9.3.2 Serial Data Register (SDR) .......................................................................................................... 179
9.4 8-bit Serial I/O Interrupts ................................................................................................................... 180
9.5 Operation of Serial Output ............................................................................................................... 181
9.6 Operation of Serial Input ................................................................................................................... 183
9.7 States in Each Mode during 8-bit Serial I/O Operation ..................................................................... 185
9.8 Notes on Using 8-bit Serial I/O ......................................................................................................... 188
9.9 Connection Example for 8-bit Serial I/O ........................................................................................... 189
9.10 Program Example for 8-bit Serial I/O ................................................................................................ 190
CHAPTER 10 UART ........................................................................................................ 193
10.1 Overview of UART ............................................................................................................................ 194
10.2 Structure of UART ............................................................................................................................ 199
10.3 UART Pins ........................................................................................................................................ 202
10.4 UART Registers ................................................................................................................................ 204
10.4.1 Serial Mode Control Register 1 (SMC1) ...................................................................................... 205
10.4.2 Serial Rate Control Register (SRC) ............................................................................................. 207
10.4.3 Serial Status and Data Register (SSD) ........................................................................................ 209
10.4.4 Serial Input Data Register (SIDR) ................................................................................................ 211
10.4.5 Serial Output Data Register (SODR) ........................................................................................... 212
10.4.6 Serial Mode Control Register 2 (SMC2) ...................................................................................... 213
10.5 UART Interrupts ................................................................................................................................ 215
10.6 Operation of UART ........................................................................................................................... 216
10.7 Operation of Mode 0, 1, 3 ................................................................................................................ 217
10.8 Program Example for UART ............................................................................................................. 220