![](http://datasheet.mmic.net.cn/30000/M37540E8FP_datasheet_2359848/M37540E8FP_12.png)
7540 Group User’s Manual
vii
Fig. 2.5.21 Method of measuring water flow rate ................................................................... 2-75
Fig. 2.5.22 Example of control procedure ................................................................................ 2-76
Fig. 2.5.23 Timing diagram of programmable waveform generation mode ......................... 2-79
Fig. 2.5.24 Setting method for programmable waveform generation mode (1) .................. 2-80
Fig. 2.5.25 Setting method for programmable waveform generation mode (2) .................. 2-81
Fig. 2.5.26 Example of waveform output .................................................................................. 2-82
Fig. 2.5.27 Example of control procedure ................................................................................ 2-83
Fig. 2.5.28 Timing diagram of programmable one-shot generation mode ........................... 2-85
Fig. 2.5.29 Setting method for programmable one-shot generation mode (1) .................... 2-86
Fig. 2.5.30 Setting method for programmable one-shot generation mode (2) .................... 2-87
Fig. 2.5.31 Setting method for programmable one-shot generation mode (3) .................... 2-88
Fig. 2.5.32 Example of peripheral circuit .................................................................................. 2-89
Fig. 2.5.33 Example of operation timing ................................................................................... 2-89
Fig. 2.5.34 Example of control procedure ................................................................................ 2-90
Fig. 2.5.35 Timing diagram of programmable wait one-shot generation mode ................... 2-93
Fig. 2.5.36 Setting method for programmable wait one-shot generation mode (1) ............ 2-94
Fig. 2.5.37 Setting method for programmable wait one-shot generation mode (2) ............ 2-95
Fig. 2.5.38 Setting method for programmable wait one-shot generation mode (3) ............ 2-96
Fig. 2.5.39 Example of waveform generation and peripheral circuit .................................... 2-97
Fig. 2.5.40 Example of control procedure ................................................................................ 2-98
Fig. 2.6.1 Memory map of registers relevant to serial I/O ................................................... 2-101
Fig. 2.6.2 Structure of Transmit/Receive buffer register ...................................................... 2-101
Fig. 2.6.3 Structure of Serial I/O1 status register ................................................................. 2-102
Fig. 2.6.4 Structure of Serial I/O1 control register ................................................................ 2-102
Fig. 2.6.5 Structure of UART control register ........................................................................ 2-103
Fig. 2.6.6 Structure of Baud rate generator ........................................................................... 2-103
Fig. 2.6.7 Structure of Interrupt request register 1 ............................................................... 2-104
Fig. 2.6.8 Structure of Interrupt control register 1 ................................................................ 2-104
Fig. 2.6.9 Serial I/O1 transfer data format ............................................................................. 2-105
Fig. 2.6.10 Setting method for clock synchronous serial I/O1 (1) ...................................... 2-107
Fig. 2.6.11 Setting method for clock synchronous serial I/O1 (2) ...................................... 2-108
Fig. 2.6.12 Connection diagram ............................................................................................... 2-109
Fig. 2.6.13 Timing chart ............................................................................................................ 2-109
Fig. 2.6.14 Control procedure of transmitter .......................................................................... 2-110
Fig. 2.6.15 Control procedure of receiver ............................................................................... 2-111
Fig. 2.6.16 Setting method for UART of serial I/O1 (1) ....................................................... 2-113
Fig. 2.6.17 Setting method for UART of serial I/O1 (2) ....................................................... 2-114
Fig. 2.6.18 Connection diagram ............................................................................................... 2-115
Fig. 2.6.19 Timing chart ............................................................................................................ 2-115
Fig. 2.6.20 Control procedure of transmitter .......................................................................... 2-116
Fig. 2.6.21 Control procedure of receiver ............................................................................... 2-117
Fig. 2.6.22 Sequence of setting serial I/O1 control register again ..................................... 2-119
Fig. 2.7.1 Memory map of registers relevant to serial I/O2 ................................................ 2-120
Fig. 2.7.2 Structure of Port P1 direction register .................................................................. 2-120
Fig. 2.7.3 Structure of Serial I/O2 control register ................................................................ 2-121
Fig. 2.7.4 Structure of Serial I/O2 register ............................................................................. 2-121
Fig. 2.7.5 Structure of Interrupt request register 2 ............................................................... 2-122
Fig. 2.7.6 Structure of Interrupt control register 2 ................................................................ 2-122
Fig. 2.7.7 Setting method for serial I/O2 ................................................................................ 2-123
Fig. 2.7.8 Setting method for serial I/O2 ................................................................................ 2-124
Fig. 2.7.9 Connection diagram ................................................................................................. 2-125
Fig. 2.7.10 Timing chart ............................................................................................................ 2-125
List of figures