libraries/STM32RTC-1.2.0/src/STM32RTC.cpp
uint8_t STM32RTC::getAlarmHours(AM_PM *period)
{
  syncAlarmTime();
  if (period != nullptr) {
    *period = _alarmPeriod;
  }
  return _alarmHours;
}
/**
  * @brief  get RTC alarm hour.
  * @param  format: optional (default: nullptr)
  *         pointer to the current hour format set in the RTC: AM or PM
  * @retval return the current alarm hour.
  */
@brief  get RTC alarm hour.
@param  format: optional (default: nullptr)
pointer to the current hour format set in the RTC: AM or PM
@retval return the current alarm hour.
@brief get RTC alarm hour . @param format : optional ( default : nullptr ) pointer to the current hour format set in the RTC : AM or PM @retval return the current alarm hour .
uint8_t STM32RTC::getAlarmHours(AM_PM *period)
{
  syncAlarmTime();
  if (period != nullptr) {
    *period = _alarmPeriod;
  }
  return _alarmHours;
}
uint8_t STM32RTC :: getAlarmHours ( AM_PM * period ) { syncAlarmTime ( ) ; if ( period != nullptr ) { * period = _alarmPeriod ; } return _alarmHours ; }
@brief  get RTC alarm hour.
@brief get RTC alarm hour .