/* enable or disable channel capture/compare control shadow register  */
void timer_channel_control_shadow_config(uint32_t timer_periph, ControlStatus newvalue)
/* enable or disable channel capture/compare control shadow register  */
void timer_channel_control_shadow_config(uint32_t timer_periph, ControlStatus newvalue)
{
    if(ENABLE == newvalue) {
        TIMER_CTL1(timer_periph) |= (uint32_t)TIMER_CTL1_CCSE;
    } else {
        TIMER_CTL1(timer_periph) &= (~(uint32_t)TIMER_CTL1_CCSE);
    }
}