![]() |
G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference
|
Functions | |
| ErrorStatus | DDL_RTC_DeInit (RTC_TypeDef *RTCx) |
| De-Initializes the RTC registers to their default reset values. | |
| ErrorStatus | DDL_RTC_Init (RTC_TypeDef *RTCx, DDL_RTC_InitTypeDef *RTC_InitStruct) |
| Initializes the RTC registers according to the specified parameters in RTC_InitStruct. | |
| void | DDL_RTC_StructInit (DDL_RTC_InitTypeDef *RTC_InitStruct) |
| Set each DDL_RTC_InitTypeDef field to default value. | |
| ErrorStatus | DDL_RTC_TIME_Init (RTC_TypeDef *RTCx, DDL_RTC_TimeTypeDef *RTC_TimeStruct) |
| Set the RTC current time. | |
| void | DDL_RTC_TIME_StructInit (DDL_RTC_TimeTypeDef *RTC_TimeStruct) |
| Set each DDL_RTC_TimeTypeDef field to default value (Time = 0sec). | |
| ErrorStatus | DDL_RTC_ALM_Init (RTC_TypeDef *RTCx, DDL_RTC_AlarmTypeDef *RTC_AlarmStruct) |
| Set the RTC Alarm. | |
| void | DDL_RTC_ALM_StructInit (DDL_RTC_AlarmTypeDef *RTC_AlarmStruct) |
| Set each DDL_RTC_AlarmTypeDef of ALARM field to default value (Time = 00h:00mn:00sec). | |
| ErrorStatus | DDL_RTC_EnterInitMode (RTC_TypeDef *RTCx) |
| Enters the RTC Initialization mode. | |
| ErrorStatus | DDL_RTC_ExitInitMode (RTC_TypeDef *RTCx) |
| Exit the RTC Initialization mode. | |
| ErrorStatus | DDL_RTC_WaitForSynchro (RTC_TypeDef *RTCx) |
| Waits until the RTC registers (RTC_CNT, RTC_ALR, RTC_PSCRLD) are synchronized with RTC APB clock. | |
| ErrorStatus | DDL_RTC_WaitForOperationComplete (RTC_TypeDef *RTCx) |
| Waits until the RTC operation is completed. | |
| ErrorStatus DDL_RTC_ALM_Init | ( | RTC_TypeDef * | RTCx, |
| DDL_RTC_AlarmTypeDef * | RTC_AlarmStruct ) |
Set the RTC Alarm.
| RTCx | RTC Instance |
| RTC_AlarmStruct | pointer to a DDL_RTC_AlarmTypeDef structure that contains the alarm configuration parameters. |
| An | ErrorStatus enumeration value:
|
Definition at line 245 of file g32r4xx_ddl_rtc.c.
| void DDL_RTC_ALM_StructInit | ( | DDL_RTC_AlarmTypeDef * | RTC_AlarmStruct | ) |
Set each DDL_RTC_AlarmTypeDef of ALARM field to default value (Time = 00h:00mn:00sec).
| RTC_AlarmStruct | pointer to a DDL_RTC_AlarmTypeDef structure which will be initialized. |
| None |
Definition at line 274 of file g32r4xx_ddl_rtc.c.
| ErrorStatus DDL_RTC_DeInit | ( | RTC_TypeDef * | RTCx | ) |
De-Initializes the RTC registers to their default reset values.
| RTCx | RTC Instance |
| An | ErrorStatus enumeration value:
|
Definition at line 108 of file g32r4xx_ddl_rtc.c.
| ErrorStatus DDL_RTC_EnterInitMode | ( | RTC_TypeDef * | RTCx | ) |
Enters the RTC Initialization mode.
| RTCx | RTC Instance |
| An | ErrorStatus enumeration value:
|
Definition at line 288 of file g32r4xx_ddl_rtc.c.
| ErrorStatus DDL_RTC_ExitInitMode | ( | RTC_TypeDef * | RTCx | ) |
Exit the RTC Initialization mode.
| RTCx | RTC Instance |
| An | ErrorStatus enumeration value:
|
Definition at line 329 of file g32r4xx_ddl_rtc.c.
| ErrorStatus DDL_RTC_Init | ( | RTC_TypeDef * | RTCx, |
| DDL_RTC_InitTypeDef * | RTC_InitStruct ) |
Initializes the RTC registers according to the specified parameters in RTC_InitStruct.
| RTCx | RTC Instance |
| RTC_InitStruct | pointer to a DDL_RTC_InitTypeDef structure that contains the configuration information for the RTC peripheral. |
| An | ErrorStatus enumeration value:
|
Definition at line 153 of file g32r4xx_ddl_rtc.c.
| void DDL_RTC_StructInit | ( | DDL_RTC_InitTypeDef * | RTC_InitStruct | ) |
Set each DDL_RTC_InitTypeDef field to default value.
| RTC_InitStruct | pointer to a DDL_RTC_InitTypeDef structure which will be initialized. |
| None |
Definition at line 184 of file g32r4xx_ddl_rtc.c.
| ErrorStatus DDL_RTC_TIME_Init | ( | RTC_TypeDef * | RTCx, |
| DDL_RTC_TimeTypeDef * | RTC_TimeStruct ) |
Set the RTC current time.
| RTCx | RTC Instance |
| RTC_TimeStruct | pointer to a RTC_TimeTypeDef structure that contains the time configuration information for the RTC. |
| An | ErrorStatus enumeration value:
|
Definition at line 199 of file g32r4xx_ddl_rtc.c.
| void DDL_RTC_TIME_StructInit | ( | DDL_RTC_TimeTypeDef * | RTC_TimeStruct | ) |
Set each DDL_RTC_TimeTypeDef field to default value (Time = 0sec).
| RTC_TimeStruct | pointer to a DDL_RTC_TimeTypeDef structure which will be initialized. |
| None |
Definition at line 228 of file g32r4xx_ddl_rtc.c.
| ErrorStatus DDL_RTC_WaitForOperationComplete | ( | RTC_TypeDef * | RTCx | ) |
Waits until the RTC operation is completed.
| RTCx | RTC Instance |
| An | ErrorStatus enumeration value:
|
Definition at line 388 of file g32r4xx_ddl_rtc.c.
| ErrorStatus DDL_RTC_WaitForSynchro | ( | RTC_TypeDef * | RTCx | ) |
Waits until the RTC registers (RTC_CNT, RTC_ALR, RTC_PSCRLD) are synchronized with RTC APB clock.
| RTCx | RTC Instance |
| An | ErrorStatus enumeration value:
|
Definition at line 351 of file g32r4xx_ddl_rtc.c.