Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Woazboat
firmware
Commits
4afb15d0
Commit
4afb15d0
authored
5 years ago
by
Hinerk
Browse files
Options
Downloads
Patches
Plain Diff
add documentation and comments
parent
fc9321a4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Documentation/pycardium/utime.rst
+5
-0
5 additions, 0 deletions
Documentation/pycardium/utime.rst
epicardium/epicardium.h
+1
-1
1 addition, 1 deletion
epicardium/epicardium.h
with
6 additions
and
1 deletion
Documentation/pycardium/utime.rst
+
5
−
0
View file @
4afb15d0
...
@@ -28,6 +28,11 @@ alarm.
...
@@ -28,6 +28,11 @@ alarm.
Return the current timestamp in seconds since 2000-01-01 00:00 in
Return the current timestamp in seconds since 2000-01-01 00:00 in
the local timezone.
the local timezone.
.. py:function:: time_ms()
Return the current timestamp in milliseconds since 2000-01-01 00:00 in
the local timezone.
.. py:function:: set_time(secs)
.. py:function:: set_time(secs)
Sets the time to ``secs`` seconds since 2000-01-01 00:00 in the local
Sets the time to ``secs`` seconds since 2000-01-01 00:00 in the local
...
...
This diff is collapsed.
Click to expand it.
epicardium/epicardium.h
+
1
−
1
View file @
4afb15d0
...
@@ -1567,7 +1567,7 @@ API(API_FILE_MKDIR, int epic_file_mkdir(const char *dirname));
...
@@ -1567,7 +1567,7 @@ API(API_FILE_MKDIR, int epic_file_mkdir(const char *dirname));
API
(
API_RTC_GET_SECONDS
,
uint32_t
epic_rtc_get_seconds
(
void
));
API
(
API_RTC_GET_SECONDS
,
uint32_t
epic_rtc_get_seconds
(
void
));
/**
/**
* Read the current RTC value.
* Read the current RTC value
in ms
.
*
*
* :return: Unix time in milliseconds
* :return: Unix time in milliseconds
*/
*/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment