Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
haoJin750TFT
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
时昊
haoJin750TFT
Commits
160500ac
Commit
160500ac
authored
Jul 10, 2024
by
时昊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:修改rtc参数
parent
ad844758
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
RTE_RTC.c
Firmware/Source/Device/Cmsemicon/BAT32A279/RTE/RTC/RTE_RTC.c
+1
-1
No files found.
Firmware/Source/Device/Cmsemicon/BAT32A279/RTE/RTC/RTE_RTC.c
View file @
160500ac
...
...
@@ -151,7 +151,7 @@ void RTE_RTC_Init(RTC_Information_st_t g_stRTCInformation)
RTC_InitStructure
.
RTC_Date
.
RTC_WeekDay
=
g_stRTCInformation
.
u8RTCDayOfWeek
;
//????
RTC_InitStructure
.
RTC_Date
.
RTC_Month
=
g_stRTCInformation
.
u8RTCMonth
;
//5??
RTC_InitStructure
.
RTC_Date
.
RTC_Year
=
g_stRTCInformation
.
u8RTCYear
;
//2022?��
RTC_InitStructure
.
RTC_Period
=
One_Second
;
//RTC ????????1s?��?��???��????????
RTC_InitStructure
.
RTC_Period
=
Period_None
;
//RTC ????????1s?��?��???��????????
RTC_InitStructure
.
RTC_Alarm_Onoff
=
RTC_Alarm_Off
;
RTC_InitStructure
.
RTC_Alarm
.
Alarm_Minute
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment