English
Language : 

W79E225A Datasheet, PDF (2/200 Pages) Winbond – 8-bit Microcontroller
Preliminary W79E225A/227A Data Sheet
12.2 Timer/Counter 2 ............................................................................................................ 98
12.2.1 Capture Mode...............................................................................................................99
12.2.2 Auto-reload Mode, Counting up....................................................................................99
12.2.3 Auto-reload Mode, Counting Up/Down .......................................................................100
12.2.4 Baud Rate Generator Mode .......................................................................................101
13. WATCHDOG TIMER............................................................................................................... 102
14. PULSE-WIDTH-MODULATED (PWM) OUTPUTS ................................................................. 105
14.1 PWM Features ............................................................................................................ 105
14.2 PWM Control Registers .............................................................................................. 106
14.3 PWM Pin Structures ................................................................................................... 108
14.4 Complementary PWM with Dead-time and Override functions .................................. 111
14.5 Dead-Time Insertion ................................................................................................... 112
14.6 PWM Output Override ................................................................................................ 113
14.7 Edge Aligned PWM (up-counter) ................................................................................ 116
14.8 Center Aligned PWM (up/down counter) .................................................................... 119
14.9 Single Shot (Up-Counter) ........................................................................................... 121
14.10 Smart Fault Detector .............................................................................................. 124
14.11 PWM Power-down/Wakeup Procedures ................................................................ 126
15. MOTION FEEDBACK MODULE............................................................................................. 128
15.1 Input Capture Module (IC) .......................................................................................... 128
15.1.1 Compare Mode...........................................................................................................136
15.1.2 Reload Mode ..............................................................................................................136
15.2 Quadrature Encoder Interface (QEI) .......................................................................... 136
15.2.1 Free-counting mode ...................................................................................................138
15.2.2 Compare-counting mode ............................................................................................138
15.2.3 X2/X4 Counting modes...............................................................................................138
15.2.4 Direction of Count.......................................................................................................138
15.2.5 Up-Counting ...............................................................................................................140
15.2.6 Down-Counting...........................................................................................................140
16. SERIAL PORT ........................................................................................................................ 141
16.1 Mode 0 ........................................................................................................................ 141
16.2 Mode 1 ........................................................................................................................ 142
16.3 Mode 2 ........................................................................................................................ 143
16.4 Mode 3 ........................................................................................................................ 144
16.5 Framing Error Detection ............................................................................................. 144
16.6 Multiprocessor Communications................................................................................. 145
17. I2C SERIAL PORTS ............................................................................................................... 146
17.1 SIO Port ...................................................................................................................... 146
17.2 The I2C Control Registers .......................................................................................... 146
17.2.1 Slave Address Registers, I2ADDR .............................................................................147
17.2.2 Data Register, I2DAT .................................................................................................147
17.2.3 Control Register, I2CON.............................................................................................147
Publication Release Date: December 14, 2007
-2-
Revision A2.0