Epson S1C17M20 Technical Manual page 6

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

CONTENTS
6.6 Control Registers ............................................................................................................ 6-7
Px Port Data Register ................................................................................................................ 6-7
Px Port Enable Register ............................................................................................................ 6-7
Px Port Pull-up/down Control Register ..................................................................................... 6-8
Px Port Interrupt Flag Register .................................................................................................. 6-8
Px Port Interrupt Control Register ............................................................................................. 6-8
Px Port Chattering Filter Enable Register .................................................................................. 6-9
Px Port Mode Select Register ................................................................................................... 6-9
Px Port Function Select Register .............................................................................................. 6-9
P Port Clock Control Register .................................................................................................. 6-10
P Port Interrupt Flag Group Register ........................................................................................ 6-11
6.7 Control Register and Port Function Configuration of this IC ......................................... 6-12
6.7.1 P0 Port Group .................................................................................................. 6-12
6.7.2 P1 Port Group .................................................................................................. 6-14
6.7.3 P2 Port Group .................................................................................................. 6-17
6.7.4 P3 Port Group .................................................................................................. 6-19
6.7.5 P4 Port Group .................................................................................................. 6-21
6.7.6 Pd Port Group .................................................................................................. 6-23
6.7.7 Common Registers between Port Groups....................................................... 6-24
7 Universal Port Multiplexer (UPMUX) ...........................................................................7-1
7.1 Overview ......................................................................................................................... 7-1
7.2 Peripheral Circuit I/O Function Assignment .................................................................... 7-1
7.3 Control Registers ............................................................................................................ 7-2
Pxy-xz Universal Port Multiplexer Setting Register ................................................................... 7-2
8 Watchdog Timer (WDT2) ..............................................................................................8-1
8.1 Overview ......................................................................................................................... 8-1
8.2 Clock Settings ................................................................................................................. 8-1
8.2.1 WDT2 Operating Clock ..................................................................................... 8-1
8.2.2 Clock Supply in DEBUG Mode ......................................................................... 8-1
8.3 Operations ...................................................................................................................... 8-2
8.3.1 WDT2 Control ................................................................................................... 8-2
8.3.2 Operations in HALT and SLEEP Modes............................................................ 8-3
8.4 Control Registers ............................................................................................................ 8-3
WDT2 Clock Control Register ................................................................................................... 8-3
WDT2 Control Register ............................................................................................................. 8-4
WDT2 Counter Compare Match Register ................................................................................. 8-4
9 Real-Time Clock (RTCA) ..............................................................................................9-1
9.1 Overview ......................................................................................................................... 9-1
9.2 Output Pin and External Connection .............................................................................. 9-1
9.2.1 Output Pin ......................................................................................................... 9-1
9.3 Clock Settings ................................................................................................................. 9-2
9.3.1 RTCA Operating Clock ..................................................................................... 9-2
9.3.2 Theoretical Regulation Function ....................................................................... 9-2
9.4 Operations ...................................................................................................................... 9-3
9.4.1 RTCA Control ................................................................................................... 9-3
9.4.2 Real-Time Clock Counter Operations ............................................................... 9-4
9.4.3 Stopwatch Control ............................................................................................ 9-4
9.4.4 Stopwatch Count-up Pattern ........................................................................... 9-4
9.5 Interrupts ......................................................................................................................... 9-5
9.6 Control Registers ............................................................................................................ 9-6
RTC Control Register ................................................................................................................ 9-6
RTC Second Alarm Register ..................................................................................................... 9-7
iv
Seiko Epson Corporation
S1C17M20/M21/M22/M23/M24/M25
TECHNICAL MANUAL (Rev. 1.0)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S1c17m25S1c17m21S1c17m22S1c17m23S1c17m24

Table of Contents