-
Notifications
You must be signed in to change notification settings - Fork 51
Add simultaneous support for RTC_ALARM_A and RTC_ALARM_B #74
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
Comments
Hi @batkov |
Yes, I already implemented something similar to what you've mentioned. Will fix backward compatibility issues and create PR soon. |
Well for example you can do something like that (not tested):
|
Hi @batkov |
Hi @fpistm , |
Hi @batkov, Would it be an idea to add 1 extra function to set the alarm which we are configuring, setting and getting (by default this is alarmA). This function would only be valid for number of processors capable of handling alarm A / B.
At a first glance the following to be changed to handle both alarmA and alarmB (depending on alarmType set by used:
|
Fixes stm32duino#74 Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Fixes stm32duino#74 Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Fixes stm32duino#74 Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Fixes stm32duino#74 Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Fixes stm32duino#74 Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Fixes stm32duino#74 Signed-off-by: Frederic Pillon <frederic.pillon@st.com> Co-authored-by: hariton_batkov <yanker90@gmail.com>
Fixes stm32duino#74 Signed-off-by: Frederic Pillon <frederic.pillon@st.com> Co-authored-by: hariton_batkov <yanker90@gmail.com>
Fixes stm32duino#74 Signed-off-by: Frederic Pillon <frederic.pillon@st.com> Co-authored-by: hariton_batkov <yanker90@gmail.com>
Fixes stm32duino#74 Signed-off-by: Frederic Pillon <frederic.pillon@st.com> Co-authored-by: hariton_batkov <yanker90@gmail.com>
Fixes stm32duino#74 Signed-off-by: Frederic Pillon <frederic.pillon@st.com> Co-authored-by: hariton_batkov <yanker90@gmail.com>
Fixes stm32duino#74 Signed-off-by: Frederic Pillon <frederic.pillon@st.com> Co-authored-by: hariton_batkov <yanker90@gmail.com>
Fixes stm32duino#74 Signed-off-by: Frederic Pillon <frederic.pillon@st.com> Co-authored-by: hariton_batkov <yanker90@gmail.com>
Hi,
I'm trying to run few RTC Alarms on one chip simultaneously.
I've found that
RTC_ALARM_A
(rtc.c) is used by default and I see no way to run it along withRTC_ALARM_B
on chip supporting such a feature.It seems like
RTC_HandleTypeDef RtcHandle
initialized once and would be able to run only one type of alarm at one point of time.Can you add support for
RTC_ALARM_B
?Can you suggest how to add such a support?
The text was updated successfully, but these errors were encountered: