Home
last modified time | relevance | path

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

/hal_gigadevice-latest/gd32l23x/standard_peripheral/source/
Dgd32l23x_ctc.c87 void ctc_irc48m_trim_value_config(uint8_t trim_value) in ctc_irc48m_trim_value_config() argument
92 CTC_CTL0 |= ((uint32_t)trim_value << CTC_TRIM_VALUE_OFFSET); in ctc_irc48m_trim_value_config()
250 uint8_t trim_value = 0U; in ctc_irc48m_trim_value_read() local
251 trim_value = (uint8_t)((CTC_CTL0 & CTC_CTL0_TRIMVALUE) >> CTC_TRIMVALUE_OFFSET); in ctc_irc48m_trim_value_read()
252 return (trim_value); in ctc_irc48m_trim_value_read()
/hal_gigadevice-latest/gd32e50x/standard_peripheral/source/
Dgd32e50x_ctc.c91 void ctc_irc48m_trim_value_config(uint8_t trim_value) in ctc_irc48m_trim_value_config() argument
96 CTC_CTL0 |= ((uint32_t)trim_value << CTC_TRIM_VALUE_OFFSET); in ctc_irc48m_trim_value_config()
253 uint8_t trim_value = 0U; in ctc_irc48m_trim_value_read() local
254 trim_value = (uint8_t)((CTC_CTL0 & CTC_CTL0_TRIMVALUE) >> CTC_TRIMVALUE_OFFSET); in ctc_irc48m_trim_value_read()
255 return (trim_value); in ctc_irc48m_trim_value_read()
/hal_gigadevice-latest/gd32f403/standard_peripheral/source/
Dgd32f403_ctc.c89 void ctc_irc48m_trim_value_config(uint8_t trim_value) in ctc_irc48m_trim_value_config() argument
94 CTC_CTL0 |= ((uint32_t)trim_value << CTC_TRIM_VALUE_OFFSET); in ctc_irc48m_trim_value_config()
252 uint8_t trim_value = 0U; in ctc_irc48m_trim_value_read() local
253 trim_value = (uint8_t)((CTC_CTL0 & CTC_CTL0_TRIMVALUE) >> CTC_TRIMVALUE_OFFSET); in ctc_irc48m_trim_value_read()
254 return (trim_value); in ctc_irc48m_trim_value_read()
/hal_gigadevice-latest/gd32f3x0/standard_peripheral/source/
Dgd32f3x0_ctc.c161 void ctc_irc48m_trim_value_config(uint8_t trim_value) in ctc_irc48m_trim_value_config() argument
166 CTC_CTL0 |= CTL0_TRIMVALUE(trim_value); in ctc_irc48m_trim_value_config()
246 uint8_t trim_value = 0U; in ctc_irc48m_trim_value_read() local
247 trim_value = (uint8_t)GET_CTL0_TRIMVALUE(CTC_CTL0); in ctc_irc48m_trim_value_read()
248 return (trim_value); in ctc_irc48m_trim_value_read()
/hal_gigadevice-latest/gd32e10x/standard_peripheral/source/
Dgd32e10x_ctc.c90 void ctc_irc48m_trim_value_config(uint8_t trim_value) in ctc_irc48m_trim_value_config() argument
95 CTC_CTL0 |= ((uint32_t)trim_value << CTC_TRIM_VALUE_OFFSET); in ctc_irc48m_trim_value_config()
252 uint8_t trim_value = 0U; in ctc_irc48m_trim_value_read() local
253 trim_value = (uint8_t)((CTC_CTL0 & CTC_CTL0_TRIMVALUE) >> CTC_TRIMVALUE_OFFSET); in ctc_irc48m_trim_value_read()
254 return (trim_value); in ctc_irc48m_trim_value_read()
/hal_gigadevice-latest/gd32f4xx/standard_peripheral/source/
Dgd32f4xx_ctc.c90 void ctc_irc48m_trim_value_config(uint8_t trim_value) in ctc_irc48m_trim_value_config() argument
95 CTC_CTL0 |= ((uint32_t)trim_value << CTC_TRIM_VALUE_OFFSET); in ctc_irc48m_trim_value_config()
267 uint8_t trim_value = 0U; in ctc_irc48m_trim_value_read() local
268 trim_value = (uint8_t)((CTC_CTL0 & CTC_CTL0_TRIMVALUE) >> CTC_TRIMVALUE_OFFSET); in ctc_irc48m_trim_value_read()
269 return (trim_value); in ctc_irc48m_trim_value_read()
/hal_gigadevice-latest/gd32l23x/standard_peripheral/include/
Dgd32l23x_ctc.h144 void ctc_irc48m_trim_value_config(uint8_t trim_value);
/hal_gigadevice-latest/gd32e50x/standard_peripheral/include/
Dgd32e50x_ctc.h145 void ctc_irc48m_trim_value_config(uint8_t trim_value);
/hal_gigadevice-latest/gd32f403/standard_peripheral/include/
Dgd32f403_ctc.h146 void ctc_irc48m_trim_value_config(uint8_t trim_value);
/hal_gigadevice-latest/gd32e10x/standard_peripheral/include/
Dgd32e10x_ctc.h145 void ctc_irc48m_trim_value_config(uint8_t trim_value);
/hal_gigadevice-latest/gd32f4xx/standard_peripheral/include/
Dgd32f4xx_ctc.h151 void ctc_irc48m_trim_value_config(uint8_t trim_value);
/hal_gigadevice-latest/gd32f3x0/standard_peripheral/include/
Dgd32f3x0_ctc.h162 void ctc_irc48m_trim_value_config(uint8_t trim_value);