| Electronic Components Datasheet Search |
|
UM0097 Datasheet(PDF) 92 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0097 Datasheet(HTML) 92 Page - STMicroelectronics |
|
92 / 229 page ![]() Peripheral firmware overview UM0097 92/229 RTC_ITStatus Example: This example illustrates how to check the alarm interrupt status. { /* test if the Alarm interrupt is enabled */ if RTC_ITStatus (RTC_AIT) { ... } } RTC_ITClear Example: This example illustrates how to clear the second interrupt request. { ... RTC_ITClear (RTC_SIT); ... } Function Name RTC_ITStatus Function Prototype FunctionalState RTC_ITStatus (RTC_IT Xrtcit); Behavior Description This routine checks whether the specified RTC interrupt is enabled or not. It reads and returns the CRH flags status. Input Parameter Xrtcit: Designates an RTC interrupts. Refer to RTC interrupts on page 86 for more details on the allowed values of this parameter. Output Parameter None Return Value The interrupt status: – ENABLE: the corresponding interrupt is enabled – DISABLE: the corresponding interrupt is disabled Required preconditions None Called Functions None Function Name RTC_ITClear Function Prototype void RTC_ITClear (RTC_IT Xrtcit); Behavior Description This routine is used to clear the specified interrupt pending request. Input Parameter Xrtcit: designates an RTC interrupt. Refer to RTC interrupts on page 86 for more details on the allowed values of this parameter. Output Parameter None Return Value None Required preconditions None Called Functions RTC_WaitForLastTask, RTC_EnterCfgMode and RTC_ExitCfgMode. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |