/* Get Timer6 period number when valid period function enable.  */
uint32_t TMR6_GetPeriodNum(const CM_TMR6_TypeDef *TMR6x)
/* Get Timer6 period number when valid period function enable.  */
uint32_t TMR6_GetPeriodNum(const CM_TMR6_TypeDef *TMR6x)
{
    DDL_ASSERT(IS_VALID_TMR6_UNIT(TMR6x));
    return (READ_REG32_BIT(TMR6x->STFLR, TMR6_STFLR_VPERNUM) >> TMR6_STFLR_VPERNUM_POS);
}