/* Get the actual frequency of BMC bit clock.  */
uint32_t BMC_GetBitClock(void)
/* Get the actual frequency of BMC bit clock.  */
uint32_t BMC_GetBitClock(void)
{
    uint32_t u32HCLKFreq, u32Div;
    u32Div = (BMC->CTL & BMC_CTL_BTDIV_Msk) >> BMC_CTL_BTDIV_Pos;
    u32HCLKFreq = CLK_GetHCLKFreq();
    return (u32HCLKFreq / u32Div);
}