RTCの初期値を変更 2000/Jan01(Sat)

git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@228 013db118-44a6-b54f-8bf7-843cb86687b1
This commit is contained in:
N2232 2010-09-09 00:56:11 +00:00
parent 6fed3efe31
commit c8c7fa0f70
4 changed files with 53 additions and 61 deletions

View File

@ -37,8 +37,8 @@ void RTC_init( void )
SEC = 0x00; SEC = 0x00;
MONTH = 0x01; MONTH = 0x01;
DAY = 0x01; DAY = 0x01;
WEEK = 0x05; // Fri WEEK = 0x06; // Sat
YEAR = 0x10; YEAR = 0x00;
ALARMWW = 0x7F; ALARMWW = 0x7F;

View File

@ -22,7 +22,7 @@ SubClock=None
[Mapping] [Mapping]
Count=0 Count=0
[Main] [Main]
Geometry=-1211, 40, 1200, 882 Geometry=215, 134, 1200, 882
Window=Max Window=Max
MDI_MAX=OFF MDI_MAX=OFF
Button=ON Button=ON
@ -78,10 +78,10 @@ Symbol Type=OFF
Language=C Language=C
Kanji=SJIS Kanji=SJIS
[Source] [Source]
Geometry=5, 10, 877, 1043 Geometry=471, 106, 877, 1043
Window=Normal Window=Normal
DispStart=70 DispStart=17
CaretPos=109,0 CaretPos=78,0
Mode=Normal Mode=Normal
DispFile= DispFile=
Address1= Address1=
@ -140,18 +140,18 @@ SaveStart=
SaveEnd= SaveEnd=
Accumulative=ON Accumulative=ON
[Source1] [Source1]
Geometry=0, 0, 1215, 933 Geometry=66, 20, 877, 884
Window=Normal Window=Normal
DispStart=273 DispStart=40
CaretPos=274,0 CaretPos=48,21
Mode=Normal Mode=Normal
DispFile=pm.c DispFile=task_sys.c
Accumulative=ON Accumulative=ON
[Assemble] [Assemble]
Geometry=14, 194, 968, 626 Geometry=14, 194, 968, 626
Window=Normal Window=Hide
DispStart=13342 DispStart=864531456
CaretPos=13342,27 CaretPos=0,0
Address1= Address1=
Address2= Address2=
Address3= Address3=
@ -965,55 +965,46 @@ Detail=OFF
Last Name= Last Name=
Count=0 Count=0
[Variable] [Variable]
Geometry=821, 0, 441, 702 Geometry=919, 6, 441, 702
Window=Normal Window=Normal
Boundary=18088086 Boundary=18088086
0=.system_status,.,N,A,+,1 0=.vreg_ctr,P,N,A,+,1
1=.info_LED,.,N,A,+,1 1=.info_led_override,P,N,A,+,1
2=.time_to_next_frame,P,N,A,+,1 2=.TDR07,P,S,A,+,1
Line=3 3=.PM4.2,P,S,A,+,1
4=.P4.2,P,S,A,+,1
5=.PM1.5,P,S,A,+,1
6=.P1.5,P,S,A,+,1
7=+system_status,.,N,A,-,1
8=.info_LED,.,N,A,+,1
9=.time_to_next_frame,P,N,A,+,1
Line=10
[Quick Watch] [Quick Watch]
0=P7.5,P,A,1 0=going_to_sleep,P,A,1
1=PM4.2,P,A,1 1=P12.0,P,A,1
2=vreg_twl,P,A,1 2=acc_norm,P,A,1
3=vreg_ctr[35],P,A,1 3=chg_led_override,P,A,1
4=vreg_ctr[11],P,A,1 4=temp_pm_extdc,P,A,1
5=vreg_ctr[5],P,A,1 5=pm_extdc_old,P,A,1
6=info_LED,P,A,1 6=time_to_next_frame,P,A,1
7=going_to_sleep,P,A,1 7=system_status,P,A,1
8=P12.0,P,A,1 8=vreg_ctr,P,A,1
9=vreg_ctr,P,A,1 9=P4.2,P,A,1
10=acc_norm,P,A,1 10=PM4.2,P,A,1
11=chg_led_override,P,A,1 11=TDR07,P,A,1
12=temp_pm_extdc,P,A,1 12=info_led_override,P,A,1
13=pm_extdc_old,P,A,1 13=P1.5,P,A,1
14=time_to_next_frame,P,A,1 14=PM1.6,P,A,1
15=system_status,P,A,1 15=PM1.5,P,A,1
[Software Break] [Software Break]
Geometry=709, 826, 445, 260 Geometry=709, 826, 445, 260
Window=Normal Window=Normal
Width=150 30 200 100 Width=150 30 200 100
Name0=Swb00001 Name0=Swb00007
Address0=task_sys.c#_tsk_sys+0x175 Address0=task_sys.c#_tsk_sys+0x5a
Window0=ASM Window0=ASM
Status0=ON Status0=ON
Name1=Swb00002 Count=1
Address1=task_sys.c#_tsk_sys+0x150
Window1=ASM
Status1=ON
Name2=Swb00003
Address2=pedo_alg_thre_det2.c#_pedometer+0x156
Window2=ASM
Status2=ON
Name3=Swb00004
Address3=vreg_ctr.c#_vreg_ctr_write+0x27c
Window3=ASM
Status3=ON
Name4=Swb00005
Address4=pm.c#_BT_model_detect+0xaf
Window4=ASM
Status4=ON
Count=5
[Reset] [Reset]
Debugger=ON Debugger=ON
Symbol=OFF Symbol=OFF

View File

@ -5,12 +5,13 @@ FrameY=37
FrameCX=1299 FrameCX=1299
FrameCY=1044 FrameCY=1044
OpenFile1=user_define.h,0,338,558,1582,1315,18,1,49,0 OpenFile1=user_define.h,0,338,558,1582,1315,18,1,49,0
OpenFile2=OutputWindow OpenFile2=ProjectWindow
OutputPos=0,491,1000,330,1535
OpenFile3=ProjectWindow
PrjPos=0,2,754,3,253 PrjPos=0,2,754,3,253
OpenFile4=led.c,0,504,84,1559,996,20,560,31,0 OpenFile3=led.c,0,504,84,1559,996,20,560,31,0
OpenFile5=pm.h,0,198,198,1442,924,24,139,24,0 OpenFile4=pm.h,0,198,198,1442,924,24,139,24,0
OpenFile5=config.h,0,154,154,1398,880,2,4,0,0
OpenFile6=OutputWindow
OutputPos=0,491,1000,330,1535
ActivePRJ=yav_mcu_bsr.prj ActivePRJ=yav_mcu_bsr.prj
[ProjectWindow] [ProjectWindow]
ProjectWindowDispType=0 ProjectWindowDispType=0

View File

@ -36,7 +36,7 @@ T=4c5a5ef2
7=adc.h 7=adc.h
8=pool.h 8=pool.h
[magic.c] [magic.c]
T=4c844411 T=4c871597
1=config.h 1=config.h
[WDT.c] [WDT.c]
T=4bf0d1e1 T=4bf0d1e1
@ -52,7 +52,7 @@ T=4c29c700
3=i2c_twl_defs.h 3=i2c_twl_defs.h
4=i2c_twl.h 4=i2c_twl.h
[led.c] [led.c]
T=4c8443fd T=4c871cec
1=incs.h 1=incs.h
2=led.h 2=led.h
[rtc.c] [rtc.c]
@ -176,7 +176,7 @@ T=4c119cde
T=4c075832 T=4c075832
1=config.h 1=config.h
[config.h] [config.h]
T=4c84440f T=4c871322
[user_define.h] [user_define.h]
T=4c84442a T=4c84442a
[bsr_system.h] [bsr_system.h]