Home
last modified time | relevance | path

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

/hal_gigadevice-latest/gd32f3x0/standard_peripheral/source/
Dgd32f3x0_cmp.c47 CMP_CS = ((uint32_t)0x00000000U); in cmp_deinit()
81 CMPx_CS = CMP_CS; in cmp_mode_init()
84 CMP_CS = CMPx_CS; in cmp_mode_init()
87 CMPx_CS = CMP_CS; in cmp_mode_init()
90 CMP_CS = CMPx_CS; in cmp_mode_init()
119 CMPx_CS = CMP_CS; in cmp_output_init()
128 CMP_CS = CMPx_CS; in cmp_output_init()
131 CMPx_CS = CMP_CS; in cmp_output_init()
140 CMP_CS = CMPx_CS; in cmp_output_init()
155 CMP_CS |= CMP_CS_CMP0EN; in cmp_enable()
[all …]
/hal_gigadevice-latest/gd32e50x/standard_peripheral/source/
Dgd32e50x_cmp.c74 CMPx_CS = CMP_CS(cmp_periph); in cmp_input_init()
77 CMP_CS(cmp_periph) = CMPx_CS; in cmp_input_init()
80 CMPx_CS = CMP_CS(cmp_periph); in cmp_input_init()
83 CMP_CS(cmp_periph) = CMPx_CS; in cmp_input_init()
86 CMPx_CS = CMP_CS(cmp_periph); in cmp_input_init()
89 CMP_CS(cmp_periph) = CMPx_CS; in cmp_input_init()
116 CMPx_CS = CMP_CS(cmp_periph); in cmp_output_init()
125 CMP_CS(cmp_periph) = CMPx_CS; in cmp_output_init()
128 CMPx_CS = CMP_CS(cmp_periph); in cmp_output_init()
137 CMP_CS(cmp_periph) = CMPx_CS; in cmp_output_init()
[all …]
/hal_gigadevice-latest/gd32a50x/standard_peripheral/source/
Dgd32a50x_cmp.c90 cmp_cs = CMP_CS; in cmp_mode_init()
94 CMP_CS = cmp_cs; in cmp_mode_init()
113 cmp_cs = CMP_CS; in cmp_output_init()
123 CMP_CS = cmp_cs; in cmp_output_init()
140 cmp_cs = CMP_CS; in cmp_outputblank_init()
143 CMP_CS = cmp_cs; in cmp_outputblank_init()
154 CMP_CS |= (uint32_t)CMP_CS_EN; in cmp_enable()
165 CMP_CS &= ~(uint32_t)CMP_CS_EN; in cmp_disable()
176 CMP_CS |= (uint32_t)CMP_CS_SEN; in cmp_voltage_scaler_enable()
187 CMP_CS &= ~(uint32_t)CMP_CS_SEN; in cmp_voltage_scaler_disable()
[all …]
/hal_gigadevice-latest/gd32e50x/standard_peripheral/include/
Dgd32e50x_cmp.h47 #define CMP_CS(CMPx) REG32((CMP) + 0x00000020U + (CMPx) * 0x00000008U) macro
/hal_gigadevice-latest/gd32a50x/standard_peripheral/include/
Dgd32a50x_cmp.h44 #define CMP_CS REG32(CMP + 0x00000000U) /*!< CMP control an… macro
/hal_gigadevice-latest/gd32f3x0/standard_peripheral/include/
Dgd32f3x0_cmp.h46 #define CMP_CS REG32((CMP) + 0x00000000U) /*!< CMP control an… macro
/hal_gigadevice-latest/gd32f3x0/cmsis/gd/gd32f3x0/source/
Dsystem_gd32f3x0.c137 CMP_CS |= (CMP_CS_CMP1MSEL | CMP_CS_CMP0MSEL); in SystemInit()