Home
last modified time | relevance | path

Searched refs:ctl0 (Results 1 – 1 of 1) sorted by relevance

/hal_gigadevice-latest/gd32f3x0/standard_peripheral/source/
Dgd32f3x0_tsi.c91 uint32_t ctl0,ctl1; in tsi_init() local
95 ctl0 = TSI_CTL0; in tsi_init()
97 ctl0 &= ~(TSI_CTL0_CTCDIV|TSI_CTL0_CTDT|TSI_CTL0_CDT|TSI_CTL0_MCN); in tsi_init()
98 ctl0 |= ((prescaler<<12U)|charge_duration|transfer_duration|max_number); in tsi_init()
99 TSI_CTL0 = ctl0; in tsi_init()
107 ctl0 = TSI_CTL0; in tsi_init()
110 ctl0 &= ~(TSI_CTL0_CTCDIV|TSI_CTL0_CTDT|TSI_CTL0_CDT|TSI_CTL0_MCN); in tsi_init()
111 ctl0 |= ((prescaler<<12U)|charge_duration|transfer_duration|max_number); in tsi_init()
112 TSI_CTL0 = ctl0; in tsi_init()
300 uint32_t ctl0,ctl1; in tsi_extend_charge_config() local
[all …]