/* Get the counting direction of the specified TMRA unit.  */
uint8_t TMRA_GetCountDir(const CM_TMRA_TypeDef *TMRAx)
/* Get the counting direction of the specified TMRA unit.  */
uint8_t TMRA_GetCountDir(const CM_TMRA_TypeDef *TMRAx)
{
    DDL_ASSERT(IS_TMRA_UNIT(TMRAx));
    return READ_REG8_BIT(TMRAx->BCSTRL, TMRA_BCSTRL_DIR);
}