CONTENTS
S1C17153 TeChniCal Manual
Seiko epson Corporation
iii
(Rev. 1.0)
9.6 P0 Port Chattering Filter Function ....................................................................................9-4
9.7 P0 Port Key-Entry Reset .................................................................................................9-5
9.8 Control Register Details ...................................................................................................9-5
_IN) ........................................................................................ 9-5
_OUT) ................................................................................. 9-6
Port Output Enable Registers (P
_OEN) ............................................................................. 9-6
Port Pull-up Control Registers (P
_PU) ............................................................................... 9-6
P0 Port Interrupt Mask Register (P0_IMSK).............................................................................. 9-7
P0 Port Interrupt Edge Select Register (P0_EDGE) ................................................................. 9-7
P0 Port Interrupt Flag Register (P0_IFLG) ................................................................................ 9-7
P0 Port Chattering Filter Control Register (P0_CHAT) .............................................................. 9-8
P0 Port Key-Entry Reset Configuration Register (P0_KRST) ................................................... 9-9
P
Port Input Enable Registers (P
_IEN) .................................................................................. 9-9
P0[3:0] Port Function Select Register (P00_03PMUX) ............................................................ 9-10
P0[7:4] Port Function Select Register (P04_07PMUX) ............................................................ 9-11
P1[3:0] Port Function Select Register (P10_13PMUX) ............................................................ 9-12
10.1 T8 Module Overview .....................................................................................................10-1
10.2 Count Clock ...................................................................................................................10-2
10.3 Count Mode ...................................................................................................................10-2
10.4 Reload Data Register and Underflow Cycle ..................................................................10-2
10.5 Timer Reset ...................................................................................................................10-3
10.6 Timer RUN/STOP Control .............................................................................................10-3
10.7 T8 Output Signals ..........................................................................................................10-4
10.8 T8 Interrupts ..................................................................................................................10-4
10.9 Control Register Details ................................................................................................10-5
Count Clock Select Register (T8_CLK
) ..................................................................... 10-5
) ................................................................................. 10-5
) ................................................................................ 10-6
) ........................................................................................ 10-6
Interrupt Control Register (T8_INT
) .......................................................................... 10-7
11.1 T16A2 Module Overview ...............................................................................................11-1
11.2 T16A2 Input/Output Pins ...............................................................................................11-2
11.3 Count Clock ...................................................................................................................11-2
11.4 T16A2 Operating Modes ...............................................................................................11-3
11.4.1 Comparator Mode and Capture Mode ............................................................11-4
11.4.2 Repeat Mode and One-Shot Mode .................................................................11-5
11.4.3 Normal Clock Mode and Half Clock Mode ......................................................11-5
11.5.1 Counter Reset .................................................................................................11-6
11.5.2 Counter RUN/STOP Control ...........................................................................11-6
11.5.3 Reading Counter Values .................................................................................11-6
11.5.4 Counter Operation and Interrupt Timing Charts..............................................11-7
11.6 Timer Output Control .....................................................................................................11-7
11.7 T16A2 Interrupts ............................................................................................................11-9
11.8 Control Register Details ...............................................................................................11-11
T16A Clock Control Register Ch.
) .................................................................... 11-11
) ................................................................ 11-12
) ...................................................................... 11-14
) ....................................... 11-14