/* configure signal free time and the signal free time counter start option  */
void cec_sft_config(uint32_t sftmopt, uint32_t sft)
/* configure signal free time and the signal free time counter start option  */
void cec_sft_config(uint32_t sftmopt, uint32_t sft)
{
    uint32_t cfg;
    cfg = CEC_CFG;
    cfg &= ~(CEC_CFG_SFTOPT | CEC_CFG_SFT);
    cfg |= (sftmopt | sft);
    CEC_CFG = cfg;
}