libraries/STM32RTC-1.2.0/src/STM32RTC.cpp
void STM32RTC::setAlarmTime(uint8_t hours, uint8_t minutes, uint8_t seconds, uint32_t subSeconds, AM_PM period)
{
  if (_configured) {
    setAlarmHours(hours, period);
    setAlarmMinutes(minutes);
    setAlarmSeconds(seconds);
    setAlarmSubSeconds(subSeconds);
  }
}
/**
  * @brief  set RTC alarm time.
  * @param  hours: 0-23
  * @param  minutes: 0-59
  * @param  seconds: 0-59
  * @param  subSeconds: 0-999 (optional)
  * @param  period: hour format AM or PM (optional)
  * @retval none
  */
@brief  set RTC alarm time.
@brief set RTC alarm time .
void STM32RTC::setAlarmTime(uint8_t hours, uint8_t minutes, uint8_t seconds, uint32_t subSeconds, AM_PM period)
{
  if (_configured) {
    setAlarmHours(hours, period);
    setAlarmMinutes(minutes);
    setAlarmSeconds(seconds);
    setAlarmSubSeconds(subSeconds);
  }
}
void STM32RTC :: setAlarmTime ( uint8_t hours , uint8_t minutes , uint8_t seconds , uint32_t subSeconds , AM_PM period ) { if ( _configured ) { setAlarmHours ( hours , period ) ; setAlarmMinutes ( minutes ) ; setAlarmSeconds ( seconds ) ; setAlarmSubSeconds ( subSeconds ) ; } }
@brief  set RTC alarm time.
@brief set RTC alarm time .