参数资料
型号: S1C17651B00E100
元件分类: 微控制器/微处理器
英文描述: 16-BIT, FLASH, 2 MHz, RISC MICROCONTROLLER, PBGA
文件页数: 180/216页
文件大小: 1784K
代理商: S1C17651B00E100
第1页第2页第3页第4页第5页第6页第7页第8页第9页第10页第11页第12页第13页第14页第15页第16页第17页第18页第19页第20页第21页第22页第23页第24页第25页第26页第27页第28页第29页第30页第31页第32页第33页第34页第35页第36页第37页第38页第39页第40页第41页第42页第43页第44页第45页第46页第47页第48页第49页第50页第51页第52页第53页第54页第55页第56页第57页第58页第59页第60页第61页第62页第63页第64页第65页第66页第67页第68页第69页第70页第71页第72页第73页第74页第75页第76页第77页第78页第79页第80页第81页第82页第83页第84页第85页第86页第87页第88页第89页第90页第91页第92页第93页第94页第95页第96页第97页第98页第99页第100页第101页第102页第103页第104页第105页第106页第107页第108页第109页第110页第111页第112页第113页第114页第115页第116页第117页第118页第119页第120页第121页第122页第123页第124页第125页第126页第127页第128页第129页第130页第131页第132页第133页第134页第135页第136页第137页第138页第139页第140页第141页第142页第143页第144页第145页第146页第147页第148页第149页第150页第151页第152页第153页第154页第155页第156页第157页第158页第159页第160页第161页第162页第163页第164页第165页第166页第167页第168页第169页第170页第171页第172页第173页第174页第175页第176页第177页第178页第179页当前第180页第181页第182页第183页第184页第185页第186页第187页第188页第189页第190页第191页第192页第193页第194页第195页第196页第197页第198页第199页第200页第201页第202页第203页第204页第205页第206页第207页第208页第209页第210页第211页第212页第213页第214页第215页第216页
9 REAL-TIME CLOCK (RTC)
S1C17651 TECHNICAL MANUAL
Seiko Epson Corporation
9-5
RTC Interrupts
9.4
The RTC can generate interrupts in 10 different cycles listed in Table 9.4.1. To generate interrupts, set the inter-
rupt enable bits for the interrupt cycles to 1. If an interrupt enable bit is set to 0 (default), interrupt requests for the
cause will not be sent to the ITC.
4.1 Interrupt Cycles and Interrupt Control Bits
Table 9.
Interrupt
cycle
Interrupt timing
Interrupt flag
(RTC_IFLG register)
Interrupt enable bit
(RTC_IEN register)
One day Hour counter = 23
→0 (24-hour mode)
Hour counter = 11pm
→12am (12-hour mode)
INT1D
INT1DEN
Half-day
Hour counter = 11
→12, 23→0 (24-hour mode)
Hour counter = 11am
→12pm, 11pm→12am (12-hour mode)
INTHD
INTHDEN
1 hour
Minute counter = 59
→0
INT1H
INT1HEN
10 minutes Minute counter = 9
→10, 19→20, 29→30, 39→40, 49→50,
59
→0
INT10M
INT10MEN
1 minute Second counter = 59
→0
INT1M
INT1MEN
10 seconds Second counter = 9
→10, 19→20, 29→30, 39→40, 49→50,
59
→0
INT10S
INT10SEN
1 Hz
Divider 1 Hz signal cycles
INT1HZ
INT1HZEN
4 Hz
Divider 4 Hz signal cycles
INT4HZ
INT4HZEN
8 Hz
Divider 8 Hz signal cycles
INT8HZ
INT8HZEN
32 Hz
Divider 32 Hz signal cycles
INT32HZ
INT32HZEN
When the interrupt enable bit is set to 1, the corresponding interrupt flag will be set to 1 in the timing shown above
and the interrupt request will be sent to the ITC.
Since the RTC is active even in SLEEP mode, RTC interrupt requests may be used to cancel SLEEP mode. For ex-
ample, the RTC interrupt can be used for executing periodical theoretical regulation processing when the theoretical
regulation type OSC1A oscillator is used.
For more information on interrupt processing, see the “Interrupt Controller (ITC)” chapter.
Notes: To prevent interrupt recurrences, the interrupt flag must be reset in the interrupt handler rou-
tine after an RTC interrupt has occurred. The interrupt flag is reset by writing 1.
To prevent unwanted interrupts, reset the interrupt flags before enabling interrupts with the in-
terrupt enable bits.
Control Register Details
9.5
5.1 List of RTC Registers
Table 9.
Address
Register name
Function
0x56c0
RTC_CTL
RTC Control Register
Controls the RTC.
0x56c2
RTC_IEN
RTC Interrupt Enable Register
Enables/disables interrupts.
0x56c4
RTC_IFLG
RTC Interrupt Flag Register
Displays/sets interrupt occurrence status.
0x56c6
RTC_MS
RTC Minute/Second Counter Register
Minute/second counter data
0x56c8
RTC_H
RTC Hour Counter Register
Hour counter data
The following describes each RTC register.
Note: When data is written to the register, the “Reserved” bits must always be written as 0 and not 1.
RTC Control Register (RTC_CTL)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
RTC Control
Register
(RTC_CTL)
0x56c0
(16 bits)
D15–9 –
reserved
0 when being read.
D8
RTCST
RTC run/stop status
1 Running
0 Stop
0
R
D7–6 –
reserved
0 when being read.
D5
BCDMD
BCD mode select
1 BCD mode 0 Binary mode
0
R/W
D4
RTC24H
24H/12H mode select
1 12H
0 24H
0
R/W
D3–1 –
reserved
0 when being read.
D0
RTCRUN
RTC run/stop control
1 Run
0 Stop
0
R/W
相关PDF资料
PDF描述
S1C17651B00E10A 16-BIT, FLASH, 2 MHz, RISC MICROCONTROLLER, PBGA
S1C17651B00E10C 16-BIT, FLASH, 2 MHz, RISC MICROCONTROLLER, PBGA
S1C17651B00E10E 16-BIT, FLASH, 2 MHz, RISC MICROCONTROLLER, PBGA
S1C17651B00E10H 16-BIT, FLASH, 2 MHz, RISC MICROCONTROLLER, PBGA
S1C17651B00E10K 16-BIT, FLASH, 2 MHz, RISC MICROCONTROLLER, PBGA
相关代理商/技术参数
参数描述
S1C17653 制造商:EPSON 制造商全称:EPSON 功能描述:16-bit Single Chip Microcontroller
S1C17701 制造商:EPSON 制造商全称:EPSON 功能描述:CMOS 16-bit Single Chip Microcontroller
S1C17701D101000 制造商:Seiko Instruments Inc (SII) 功能描述:EPSON 16BIT MCU
S1C17701F00B100 功能描述:16位微控制器 - MCU 16-bit 64KB Flash LCD 56x32 RoHS:否 制造商:Texas Instruments 核心:RISC 处理器系列:MSP430FR572x 数据总线宽度:16 bit 最大时钟频率:24 MHz 程序存储器大小:8 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:2 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:VQFN-40 安装风格:SMD/SMT
S1C17701F00E100 功能描述:16位微控制器 - MCU 16-bit 64KB Flash LCD 56x32 RoHS:否 制造商:Texas Instruments 核心:RISC 处理器系列:MSP430FR572x 数据总线宽度:16 bit 最大时钟频率:24 MHz 程序存储器大小:8 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:2 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:VQFN-40 安装风格:SMD/SMT