-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rtc binary only mode subseconds param. expressed in milliseconds #101
Commits on Sep 15, 2023
-
fix: code syntax for better readability
Signed-off-by: Frederic Pillon <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2d11284 - Browse repository at this point
Copy the full SHA 2d11284View commit details -
else this prevent isConfigured(void) to return correct value. Signed-off-by: Frederic Pillon <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9acf6f7 - Browse repository at this point
Copy the full SHA 9acf6f7View commit details -
fix: harden prediv management vs clock config
prediv was not properly computed and some misalignment's could occur depending of the RTC state at init. Signed-off-by: Frederic Pillon <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9d07ee5 - Browse repository at this point
Copy the full SHA 9d07ee5View commit details -
chore: set clock source and (a)synchronous prescalers together
(a)synchronous prescalers values depend on the RTC clock source. Signed-off-by: Frederic Pillon <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fb5b8ab - Browse repository at this point
Copy the full SHA fb5b8abView commit details -
feat: add a parameter to set binary mode
This is valid when the RTC_BINARY_MIX mode exists in the RTC (bitfield in the RTC ICSR register) Set the RTC mode through a setBinaryMode function to be called before begin. Signed-off-by: Francois Ramu <[email protected]> Co-authored-by: Frederic Pillon <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 64e23a8 - Browse repository at this point
Copy the full SHA 64e23a8View commit details -
fix(example): enable alarm(s) if neeed
Formatted with Arduino astyle. Signed-off-by: Frederic Pillon <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fc318f1 - Browse repository at this point
Copy the full SHA fc318f1View commit details -
Configure the alarm depending on the MIX mode In case the RTC is running in MIX mode (binary and calendar), the subsecond register is a 32-bit value (and not msec) The Subsecond parameter is expressed in millisecond in RTC_SetTime/GetTime RTC_StartAlarm/GetAlarm Signed-off-by: Francois Ramu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dac2069 - Browse repository at this point
Copy the full SHA dac2069View commit details
Commits on Sep 19, 2023
-
chore: export the RTC Handle as a global
Signed-off-by: Francois Ramu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 785a492 - Browse repository at this point
Copy the full SHA 785a492View commit details -
feat: add the HAL_MSP_Init/DeInit functions
Signed-off-by: Frederic Pillon <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6d14e5e - Browse repository at this point
Copy the full SHA 6d14e5eView commit details
Commits on Sep 21, 2023
-
RTC Time and Alarm configuration in BCD mode (BINARY_NONE)
Signed-off-by: Francois Ramu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6b94d3c - Browse repository at this point
Copy the full SHA 6b94d3cView commit details -
add new sketch for RTC running in MIX or BCD mode with Alarm
This examples is configuring the RTC in MIX (binary + calendar) or BCD and sets Alarm A & B (if exists) few ms after the current time. Signed-off-by: Francois Ramu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0e17344 - Browse repository at this point
Copy the full SHA 0e17344View commit details -
RTC Time and Alarm configuration in BIN mode (BINARY_ONLY)
In BIN ONLY mode, the Time and Date registers are 0. The Subsecond param in expressed in a nb of milliseconds on a 32-bit value. Signed-off-by: Francois Ramu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3b9a253 - Browse repository at this point
Copy the full SHA 3b9a253View commit details -
add new sketch for RTC running in BINary mode with Alarm
This examples is configuring the RTC in BIN mode (binary only) and sets Alarm A & B (if exists) a few ms after the current time. Signed-off-by: Francois Ramu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 50ffe71 - Browse repository at this point
Copy the full SHA 50ffe71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ac4c91 - Browse repository at this point
Copy the full SHA 8ac4c91View commit details -
feat: add new API to setAlarmTime with subsecond
Signed-off-by: Frederic Pillon <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f605209 - Browse repository at this point
Copy the full SHA f605209View commit details -
Configuration menu - View commit details
-
Copy full SHA for f695168 - Browse repository at this point
Copy the full SHA f695168View commit details -
Signed-off-by: Frederic Pillon <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0a94a5b - Browse repository at this point
Copy the full SHA 0a94a5bView commit details