RTC: Enumerations

Real Time Clock

RTC
Enumerations
enum  RTC_STATUS { RTC_STATUS_SUCCESS = 0U, RTC_STATUS_FAILURE = 1U }
enum  RTC_START { RTC_START_DISABLE = 0x0U, RTC_START_ENABLE = 0x1U }
enum  RTC_INT {
  RTC_INT_PERIODIC_SEC_DISABLE = 0x0U, RTC_INT_PERIODIC_SEC_ENABLE = 0x1U, RTC_INT_PERIODIC_MIN_DISABLE = 0x0U, RTC_INT_PERIODIC_MIN_ENABLE = 0x1U,
  RTC_INT_PERIODIC_HOUR_DISABLE = 0x0U, RTC_INT_PERIODIC_HOUR_ENABLE = 0x1U, RTC_INT_PERIODIC_DAY_DISABLE = 0x0U, RTC_INT_PERIODIC_DAY_ENABLE = 0x1U,
  RTC_INT_PERIODIC_MONTH_DISABLE = 0x0U, RTC_INT_PERIODIC_MONTH_ENABLE = 0x1U, RTC_INT_PERIODIC_YEAR_DISABLE = 0x0U, RTC_INT_PERIODIC_YEAR_ENABLE = 0x1U,
  RTC_INT_ALARM_DISABLE = 0x0U, RTC_INT_ALARM_ENABLE = 0x1U
}
typedef enum RTC_START RTC_START_t
typedef enum RTC_INT RTC_INT_t
typedef struct RTC_CONFIG RTC_CONFIG_t
typedef struct RealTimeClock RTC_t

Typedef Documentation

typedef struct RTC_CONFIG RTC_CONFIG_t

RTC APP Handle structure. Stores configured parameters in APP UI.

typedef enum RTC_INT RTC_INT_t

This enumeration defines RTC Module Interrupt Related Events Enable and Disable values.

typedef enum RTC_START RTC_START_t

This enumeration defines RTC Module Enable and Disable values.

typedef struct RealTimeClock RTC_t

Runtime RTC handler.


Enumeration Type Documentation

enum RTC_INT

This enumeration defines RTC Module Interrupt Related Events Enable and Disable values.

Enumerator:
RTC_INT_PERIODIC_SEC_DISABLE 

Timer Periodic Seconds Interrupt Disable

RTC_INT_PERIODIC_SEC_ENABLE 

Timer Periodic Seconds Interrupt Enable

RTC_INT_PERIODIC_MIN_DISABLE 

Timer Periodic Minutes Interrupt Disable

RTC_INT_PERIODIC_MIN_ENABLE 

Timer Periodic Minutes Interrupt Enable

RTC_INT_PERIODIC_HOUR_DISABLE 

Timer Periodic Hours Interrupt Disable

RTC_INT_PERIODIC_HOUR_ENABLE 

Timer Periodic Hours Interrupt Enable

RTC_INT_PERIODIC_DAY_DISABLE 

Timer Periodic Days Interrupt Disable

RTC_INT_PERIODIC_DAY_ENABLE 

Timer Periodic Days Interrupt Enable

RTC_INT_PERIODIC_MONTH_DISABLE 

Timer Periodic Month Interrupt Disable

RTC_INT_PERIODIC_MONTH_ENABLE 

Timer Periodic Month Interrupt Enable

RTC_INT_PERIODIC_YEAR_DISABLE 

Timer Periodic Years Interrupt Disable

RTC_INT_PERIODIC_YEAR_ENABLE 

Timer Periodic Years Interrupt Enable

RTC_INT_ALARM_DISABLE 

Alarm Interrupt Disable

RTC_INT_ALARM_ENABLE 

Alarm Interrupt Enable

Definition at line 104 of file RTC.h.

enum RTC_START

This enumeration defines RTC Module Enable and Disable values.

Enumerator:
RTC_START_DISABLE 

Disable RTC start

RTC_START_ENABLE 

Enable RTC start

Definition at line 92 of file RTC.h.

enum RTC_STATUS
Enumerator:
RTC_STATUS_SUCCESS 

APP initialization status success

RTC_STATUS_FAILURE 

APP initialization status failure

Definition at line 82 of file RTC.h.