English
Language : 

IN1363 Datasheet, PDF (25/33 Pages) IK Semicon Co., Ltd – Programmed orthogonal output signal
IN1363
2.2. Register Set Up for IN1363
2.2.1. Initialization Register Setting Up
It is necessary to enable the generation (bit TEST1 = 0) when setting the initial configurations..
Register Address
0x00H
0x01H
0x0DH
0x0EH
0x0FH
Register Name
Control/Status 1
Control/Status 2
CLKPUT control
Timer Control
Timer
Initialize Write Data
Contents
0x00
0x00
-
TEST1 bit = 0 (normal mode)
STOP bit = 0 (RTC source clock)
TESTC bit = 0 (normal op)
AIE bit = 0 (Alarm int disabled)
TIE bit = 0 (Timer int disabled)
-
-
2.2.2 Timer Register Setting Up
Register Address
Register Name
0x02H
Seconds
0x03H
Minutes
0x04H
Hours
0x05H
Dates
0x06H
Day of week
0x07H
Century/month
0x08H
0x09H
0x0AH
0x0BH
0x0CH
Year
Minute alarm
Hour alarm
Date alarm
Weekday alarm
Initialize Write Data
0x02
0x03
0x14
0x23
-
0x07
0x12
-
-
-
Contents
Sunday=0,Monday=1,Tuesday=2,
Wednesday=3,..., Saturday=6
Bit7 ‘C’ of the months/century register
indicates century
for year 19xx (bit7=1), and year 20xx
(bit7=0).
For example, we want to set the date for 23 July 2012, current time to 12:03:02, and then we need to
call.
1. Seconds setup
: rtc_write( SECONDS, 0x02);
2. Minutes setup : rtc_write( MINUTES, 0x03);
3. Hours setup : rtc_write( HOURS, 0x14);
4. Dates setup : rtc_write( DATES, 0x23);
5. Month setup : rtc_write( MONTH, 0x07);
6. Year setup : rtc_write( YEAR, 0x12);
25
Aug 2012, ver.05