-
Notifications
You must be signed in to change notification settings - Fork 48
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 mix sketch #94
Rtc mix sketch #94
Commits on Jul 10, 2023
-
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]>
Configuration menu - View commit details
-
Copy full SHA for c8069d6 - Browse repository at this point
Copy the full SHA c8069d6View commit details
Commits on Sep 7, 2023
-
stm32duino RTC add a subsecond mask to configure the alarm
configure the Alarm with Second mask --> trigs IRQHandler The Autoclear bit field depends on the RTC ALARM SSR register. Signed-off-by: Francois Ramu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5885b25 - Browse repository at this point
Copy the full SHA 5885b25View commit details -
rtc with getTime and getAlarm depends on MIX mode
When the RTC is running in MIX mode (bianry and calendar), the ssub-second register is a 32-bit value which must not be converted in ms Signed-off-by: Francois Ramu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cbb926a - Browse repository at this point
Copy the full SHA cbb926aView commit details -
STM32RTC library 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) Signed-off-by: Francois Ramu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2ea1ffc - Browse repository at this point
Copy the full SHA 2ea1ffcView commit details
Commits on Sep 8, 2023
-
export the RTC Handle as a global
Set the subsecond for the alarm value. Add the HAL_MSP_Init/DeInit function from the rtc library. Signed-off-by: Francois Ramu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 35da749 - Browse repository at this point
Copy the full SHA 35da749View commit details -
stm32RTC with subsecond to milliseconds conversion
The binaryMode_t is retrieved directly from the RTC mode, not as a parameter. 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 afa27ae - Browse repository at this point
Copy the full SHA afa27aeView commit details -
add new sketch for RTC running in MIX mode with Alarm
This examples is configuring the RTC in MIX mode (binary + calendar BCD) and set Alarm B (if exists) few ms after the current time, whenAlarm A is set in calendar mode. Mainly used on stm32wl55 devices.
Configuration menu - View commit details
-
Copy full SHA for 8832c54 - Browse repository at this point
Copy the full SHA 8832c54View commit details