
NuMicro™ Mini51 Technical Reference Manual
Feb 9, 2012 Page 3of 342 Revision V1.03
NUMICRO™ MINI51 TECHNICAL REFERENCE MANUAL
5.5.5 Comparator Reference Voltage (CRV)........................................................................ 101
5.5.6 Register Map ............................................................................................................... 102
5.5.7 Register Description .................................................................................................... 103
5.6 Analog-to-Digital Converter (ADC) Controller ..........................................................107
5.6.1 Overview...................................................................................................................... 107
5.6.2 Features ...................................................................................................................... 107
5.6.3 Block Diagram ............................................................................................................. 108
5.6.4 ADC Operation Procedure........................................................................................... 108
5.6.5 ADC Register Map....................................................................................................... 111
5.6.6 ADC Register............................................................................................................... 112
5.7 Flash Memory Controller (FMC)...............................................................................121
5.7.1 Overview...................................................................................................................... 121
5.7.2 Features ...................................................................................................................... 121
5.7.3 Block Diagram ............................................................................................................. 121
5.7.4 Functional Description................................................................................................. 123
5.7.5 Flash Control Register Map......................................................................................... 133
5.7.6 Flash Control Register................................................................................................. 134
5.8 General Purpose I/O ................................................................................................142
5.8.1 Overview...................................................................................................................... 142
5.8.2 Features ...................................................................................................................... 142
5.8.3 Functional Description................................................................................................. 142
5.8.4 Port 0-5 Control Register Map..................................................................................... 145
5.8.5 Port 0-5 Control Register............................................................................................. 149
5.9 I2C Serial Interface Controller (Master/Slave)..........................................................167
5.9.1 Overview...................................................................................................................... 167
5.9.2 Features ...................................................................................................................... 167
5.9.3 I2C Protocol.................................................................................................................. 168
5.9.4 I2C Protocol Registers ................................................................................................. 171
5.9.5 Register Mapping......................................................................................................... 174
5.9.6 Register Description .................................................................................................... 175
5.9.7 Operation Modes......................................................................................................... 184
5.9.8 Master Transmitter Mode............................................................................................. 184
5.9.9 Master Receiver Mode................................................................................................. 184
5.9.10 Slave Receiver Mode................................................................................................. 184
5.9.11 Slave Transmitter Mode............................................................................................. 184
5.9.12 Data Transfer Flow in Five Operation Modes ............................................................ 184
5.10 Enhanced PWM Generator ......................................................................................191
5.10.1 Overview.................................................................................................................... 191
5.10.2 Features .................................................................................................................... 191
5.10.3 PWM Block Diagram.................................................................................................. 193
5.10.4 PWM Function........................................................................................................... 195
5.10.5 PWM Operation Modes ............................................................................................. 203
5.10.6 Polarity Control.......................................................................................................... 204
5.10.7 PWM for Motor Control Interrupt Architecture............................................................ 206
5.10.8 PWM Brake Function................................................................................................. 206
5.10.9 PWM Controller Register Map................................................................................... 207