English
Language : 

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