NuMicro™ Mini51 Technical Reference ManualFeb 9, 2012 Page 3 of 342 Revision V1.03NUMICRO™ MINI51 TECHNICAL REFERENCE MANUAL5.5.5 Comparator Reference Voltage (CRV) ........................................................................ 1015.5.6 Register Map ............................................................................................................... 1025.5.7 Register Description .................................................................................................... 1035.6 Analog-to-Digital Converter (ADC) Controller .......................................................... 1075.6.1 Overview ...................................................................................................................... 1075.6.2 Features ...................................................................................................................... 1075.6.3 Block Diagram ............................................................................................................. 1085.6.4 ADC Operation Procedure ........................................................................................... 1085.6.5 ADC Register Map ....................................................................................................... 1115.6.6 ADC Register ............................................................................................................... 1125.7 Flash Memory Controller (FMC) ............................................................................... 1215.7.1 Overview ...................................................................................................................... 1215.7.2 Features ...................................................................................................................... 1215.7.3 Block Diagram ............................................................................................................. 1215.7.4 Functional Description ................................................................................................. 1235.7.5 Flash Control Register Map ......................................................................................... 1335.7.6 Flash Control Register ................................................................................................. 1345.8 General Purpose I/O ................................................................................................ 1425.8.1 Overview ...................................................................................................................... 1425.8.2 Features ...................................................................................................................... 1425.8.3 Functional Description ................................................................................................. 1425.8.4 Port 0-5 Control Register Map ..................................................................................... 1455.8.5 Port 0-5 Control Register ............................................................................................. 1495.9 I2C Serial Interface Controller (Master/Slave) .......................................................... 1675.9.1 Overview ...................................................................................................................... 1675.9.2 Features ...................................................................................................................... 1675.9.3 I2C Protocol.................................................................................................................. 1685.9.4 I2C Protocol Registers ................................................................................................. 1715.9.5 Register Mapping......................................................................................................... 1745.9.6 Register Description .................................................................................................... 1755.9.7 Operation Modes ......................................................................................................... 1845.9.8 Master Transmitter Mode ............................................................................................. 1845.9.9 Master Receiver Mode ................................................................................................. 1845.9.10 Slave Receiver Mode ................................................................................................. 1845.9.11 Slave Transmitter Mode ............................................................................................. 1845.9.12 Data Transfer Flow in Five Operation Modes ............................................................ 1845.10 Enhanced PWM Generator ...................................................................................... 1915.10.1 Overview .................................................................................................................... 1915.10.2 Features .................................................................................................................... 1915.10.3 PWM Block Diagram .................................................................................................. 1935.10.4 PWM Function ........................................................................................................... 1955.10.5 PWM Operation Modes ............................................................................................. 2035.10.6 Polarity Control .......................................................................................................... 2045.10.7 PWM for Motor Control Interrupt Architecture ............................................................ 2065.10.8 PWM Brake Function ................................................................................................. 2065.10.9 PWM Controller Register Map ................................................................................... 207