|
I2C_Drivers (ARM) 1.1
SMFSW collection of HAL I2C Drivers for ARM
|
PCF8523 Driver extensions. More...


Data Structures | |
| union | uPCF8523_REG_MAP |
| Union of PCF8523 registry map. More... | |
Functions | |
| FctERR | PCF8523_Reset (void) |
| FctERR | PCF8523_Disable_Alarm (void) |
| FctERR | PCF8523_Disable_Minute_Alarm (void) |
| FctERR | PCF8523_Disable_Hour_Alarm (void) |
| FctERR | PCF8523_Disable_Day_Alarm (void) |
| FctERR | PCF8523_Disable_Weekday_Alarm (void) |
| FctERR | PCF8523_Enable_Minute_Alarm (const uint8_t minute) |
| FctERR | PCF8523_Enable_Hour_Alarm (const uint8_t hour) |
| FctERR | PCF8523_Enable_Day_Alarm (const uint8_t day) |
| FctERR | PCF8523_Enable_Weekday_Alarm (const uint8_t weekday) |
| FctERR | PCF8523_Set_12_24 (const bool twelve) |
| FctERR | PCF8523_Set_Date_Raw (const uint8_t date[4]) |
| FctERR | PCF8523_Set_Time_Raw (const uint8_t time[3]) |
| FctERR | PCF8523_Get_Countdown (uint8_t *ctdw, const uint16_t period, const uint8_t timer) |
| Countdown calculation for PCF8523 peripheral. | |
| FctERR | PCF8523_Get_Date_Raw (uint8_t *const date) |
| FctERR | PCF8523_Get_Time_Raw (uint8_t *const time) |
| FctERR | PCF8523_Check_Clock_Integrity (bool *const integrity) |
| void | PCF8523_INT1_GPIO_Init (GPIO_TypeDef *const GPIOx, const uint16_t GPIO_Pin, const GPIO_PinState GPIO_Active) |
| Interrupt 1 GPIO pin init for PCF8523. | |
| bool | PCF8523_INT1_GPIO_Get (void) |
| Interrupt 1 GPIO pin getter for PCF8523. | |
| void | PCF8523_INT2_GPIO_Init (GPIO_TypeDef *const GPIOx, const uint16_t GPIO_Pin, const GPIO_PinState GPIO_Active) |
| Interrupt 2 GPIO pin init for PCF8523. | |
| bool | PCF8523_INT2_GPIO_Get (void) |
| Interrupt 2 GPIO pin getter for PCF8523. | |
PCF8523 Driver extensions.
PCF8523: Real-Time Clock (RTC) and calendar
| FctERR PCF8523_Check_Clock_Integrity | ( | bool *const | integrity | ) |

|
inline |

|
inline |

|
inline |

|
inline |

|
inline |

| FctERR PCF8523_Enable_Day_Alarm | ( | const uint8_t | day | ) |

| FctERR PCF8523_Enable_Hour_Alarm | ( | const uint8_t | hour | ) |

| FctERR PCF8523_Enable_Minute_Alarm | ( | const uint8_t | minute | ) |

| FctERR PCF8523_Enable_Weekday_Alarm | ( | const uint8_t | weekday | ) |

| FctERR PCF8523_Get_Countdown | ( | uint8_t * | ctdw, |
| const uint16_t | period, | ||
| const uint8_t | timer ) |
Countdown calculation for PCF8523 peripheral.
|
inline |


|
inline |


| bool PCF8523_INT1_GPIO_Get | ( | void | ) |
Interrupt 1 GPIO pin getter for PCF8523.


| void PCF8523_INT1_GPIO_Init | ( | GPIO_TypeDef *const | GPIOx, |
| const uint16_t | GPIO_Pin, | ||
| const GPIO_PinState | GPIO_Active ) |
Interrupt 1 GPIO pin init for PCF8523.
| [in] | GPIOx | - INT1 port |
| [in] | GPIO_Pin | - INT1 pin |
| [in] | GPIO_Active | INT1 pin active state |

| bool PCF8523_INT2_GPIO_Get | ( | void | ) |
Interrupt 2 GPIO pin getter for PCF8523.


| void PCF8523_INT2_GPIO_Init | ( | GPIO_TypeDef *const | GPIOx, |
| const uint16_t | GPIO_Pin, | ||
| const GPIO_PinState | GPIO_Active ) |
Interrupt 2 GPIO pin init for PCF8523.
| [in] | GPIOx | - INT2 port |
| [in] | GPIO_Pin | - INT2 pin |
| [in] | GPIO_Active | INT2 pin active state |

|
inline |

| FctERR PCF8523_Set_12_24 | ( | const bool | twelve | ) |

|
inline |


|
inline |

