/* Enable or disable reload and continue counting when overflow/underflow.  */
void TMRA_CountReloadCmd(CM_TMRA_TypeDef *TMRAx, en_functional_state_t enNewState)
/* Enable or disable reload and continue counting when overflow/underflow.  */
void TMRA_CountReloadCmd(CM_TMRA_TypeDef *TMRAx, en_functional_state_t enNewState)
{
    DDL_ASSERT(IS_TMRA_UNIT(TMRAx));
    DDL_ASSERT(IS_FUNCTIONAL_STATE(enNewState));
    if (enNewState == ENABLE) {
        CLR_REG8_BIT(TMRAx->BCSTRH, TMRA_BCSTRH_OVSTP);
    } else {
        SET_REG8_BIT(TMRAx->BCSTRH, TMRA_BCSTRH_OVSTP);
    }
}