| 전자부품 데이터시트 검색엔진 |
|
UM0097 데이터시트(PDF) 90 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0097 데이터시트(HTML) 90 Page - STMicroelectronics |
|
90 / 229 page ![]() Peripheral firmware overview UM0097 90/229 RTC_AlarmConfig Example: This example illustrates how to configure a new alarm time. { u32 wAlarm_Time; ... wAlarm_Time = 0x007FFFFF; ... RTC_AlarmConfig (wAlarm_Time); ... } RTC_FlagStatus Example: This example illustrates how to check the RTC Second interrupt flag. { ... /* Test if the Second interrupt request is set */ if (RTC_FlagStatus (RTC_SIR)) { ... } } Function Name RTC_AlarmConfig Function Prototype void RTC_AlarmConfig (u32 Xalarm); Behavior Description This routine sets the alarm time value. It updates AHI & ALO register values. Input Parameter Xalarm: specifies the new RTC alarm time value. Output Parameter None Return Value None Required preconditions None Called Functions RTC_WaitForLastTask, RTC_EnterCfgMode and RTC_ExitCfgMode. Function Name RTC_FlagStatus Function Prototype FlagStatus RTC_FlagStatus (RTC_FLAGS Xflag); Behavior Description This routine is used to check if the specified RTC flag is set or not. Input Parameter Xflag: Designates an RTC flag. Refer to RTC flags on page 85 for more details on the allowed values of this parameter. Output Parameter None Return Value The specified flag status: – SET: The corresponding flag is SET – RESET: The corresponding flag is RESET Required preconditions None Called Functions None |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |