English
Language : 

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