Platform/ECM3532/M3/hw/csp/ecm3532/m3/csp/src/eta_csp_rtc.c
/***************************************************************************/
/**
 *
 *  EtaCspRtcMinuteTimerStop - Stop the minute timer.
 *
 *  @param iAlarmNumber enumeration for alarma A or B.
 *
 *  @return general status: success or !success
 ******************************************************************************/
Stop the minute timer.
@param iAlarmNumber enumeration for alarma A or B.

@return general status: success or !success
Stop the minute timer . @param iAlarmNumber enumeration for alarma A or B . @return general status : success or !success
tEtaStatus
EtaCspRtcMinuteTimerStop(tRtcAlarmNum iAlarmNumber)
{
    switch(iAlarmNumber)
    {
        case eAlarmA:
        {
            REG_C1(RTC_CSRA, PER_MINUTE);
            break;
        }
        case eAlarmB:
        {
            REG_C1(RTC_CSRB, PER_MINUTE);
            break;
        }
        default:
        {
            return(eEtaFailure);
        }
    }
    return(eEtaSuccess);
}
tEtaStatus EtaCspRtcMinuteTimerStop ( tRtcAlarmNum iAlarmNumber ) { switch ( iAlarmNumber ) { case eAlarmA : { REG_C1 ( RTC_CSRA , PER_MINUTE ) ; break ; } case eAlarmB : { REG_C1 ( RTC_CSRB , PER_MINUTE ) ; break ; } default : { return ( eEtaFailure ) ; } } return ( eEtaSuccess ) ; }
EtaCspRtcMinuteTimerStop - Stop the minute timer.
EtaCspRtcMinuteTimerStop - Stop the minute timer .