![](http://datasheet.mmic.net.cn/230000/7751_datasheet_15568130/7751_6.png)
Table of Contents
iii
7751 Group User’s Manual
CHAPTER 6. TIMER B
6.1 Overview ..................................................................................................................................6-2
6.2 Block description .................................................................................................................. 6-2
6.2.1 Counter and reload register (timer Bi register) ......................................................... 6-3
6.2.2 Count start register........................................................................................................ 6-4
6.2.3 Timer Bi mode register ................................................................................................. 6-5
6.2.4 Timer Bi interrupt control register ............................................................................... 6-6
6.2.5 Port P6 direction register ............................................................................................. 6-7
6.3 Timer mode ............................................................................................................................ 6-8
6.3.1 Setting for timer mode ................................................................................................ 6-10
6.3.2 Count source ................................................................................................................ 6-11
6.3.3 Operation in timer mode............................................................................................. 6-12
6.4 Event counter mode ........................................................................................................... 6-14
6.4.1 Setting for event counter mode ................................................................................. 6-16
6.4.2 Operation in event counter mode.............................................................................. 6-17
6.5 Pulse period/pulse width measurement mode ............................................................. 6-19
6.5.1 Setting for pulse period/pulse width measurement mode ......................................6-21
6.5.2 Count source ................................................................................................................ 6-23
6.5.3 Operation in pulse period/pulse width measurement mode ...................................6-24
CHAPTER 7. SERIAL I/O
7.1 Overview ..................................................................................................................................7-2
7.2 Block description .................................................................................................................. 7-3
7.2.1 UARTi transmit/receive mode register ........................................................................ 7-4
7.2.2 UARTi transmit/receive control register 0 .................................................................. 7-6
7.2.3 UARTi transmit/receive control register 1 .................................................................. 7-7
7.2.4 UARTi transmit register and UARTi transmit buffer register ...................................7-9
7.2.5 UARTi receive register and UARTi receive buffer register ....................................7-11
7.2.6 UARTi baud rate register (BRGi) .............................................................................. 7-13
7.2.7 UARTi transmit interrupt control and UARTi receive interrupt control registers 7-14
7.2.8 Port P8 direction register ........................................................................................... 7-16
7.3 Clock synchronous serial I/O mode ............................................................................... 7-17
7.3.1 Transfer clock (synchronizing clock) ......................................................................... 7-18
7.3.2 Transfer data format.................................................................................................... 7-19
7.3.3 Method of transmission............................................................................................... 7-20
7.3.4 Transmit operation....................................................................................................... 7-24
7.3.5 Method of reception .................................................................................................... 7-26
7.3.6 Receive operation ........................................................................................................ 7-30
7.3.7 Process on detecting overrun error........................................................................... 7-33
7.4 Clock asynchronous serial I/O (UART) mode...............................................................7-35
7.4.1 Transfer rate (frequency of transfer clock) .............................................................. 7-36
7.4.2 Transfer data format.................................................................................................... 7-38
7.4.3 Method of transmission............................................................................................... 7-40
7.4.4 Transmit operation....................................................................................................... 7-44
7.4.5 Method of reception .................................................................................................... 7-46
7.4.6 Receive operation ........................................................................................................ 7-49
7.4.7 Process on detecting error ......................................................................................... 7-51
7.4.8 Sleep mode .................................................................................................................. 7-52