| /bsp/nuvoton/libraries/m2354/rtt_port/ |
| A D | drv_qei.c | 95 switch (pulse_encoder->type) in nu_qei_type() 116 RT_ASSERT(pulse_encoder != RT_NULL); in nu_qei_init() 123 u32type = nu_qei_type(pulse_encoder); in nu_qei_init() 126 if (((nu_qei_t)pulse_encoder)->cmp_val) in nu_qei_init() 142 RT_ASSERT(pulse_encoder != RT_NULL); in nu_qei_get_count() 151 RT_ASSERT(pulse_encoder != RT_NULL); in nu_qei_clear_count() 164 RT_ASSERT(pulse_encoder != RT_NULL); in nu_qei_control() 175 if (((nu_qei_t)pulse_encoder)->cmp_val) in nu_qei_control() 254 RT_ASSERT(pulse_encoder != RT_NULL); in nu_qei_set_maxval_type() 267 RT_ASSERT(pulse_encoder != RT_NULL); in nu_qei_set_cmpval() [all …]
|
| A D | drv_qei.h | 23 rt_int32_t nu_qei_get_maxval(rt_device_t *pulse_encoder); 24 rt_int32_t nu_qei_get_cmpval(rt_device_t *pulse_encoder); 25 rt_int32_t nu_qei_get_type(rt_device_t *pulse_encoder); 26 void nu_qei_set_maxval_type(rt_device_t *pulse_encoder, rt_uint32_t u32val, rt_uint8_t u8type); 27 void nu_qei_set_cmpval(rt_device_t *pulse_encoder, rt_uint32_t u32val);
|
| /bsp/nuvoton/libraries/m480/rtt_port/ |
| A D | drv_qei.c | 95 switch (pulse_encoder->type) in nu_qei_type() 116 RT_ASSERT(pulse_encoder != RT_NULL); in nu_qei_init() 123 u32type = nu_qei_type(pulse_encoder); in nu_qei_init() 126 if (((nu_qei_t)pulse_encoder)->cmp_val) in nu_qei_init() 142 RT_ASSERT(pulse_encoder != RT_NULL); in nu_qei_get_count() 151 RT_ASSERT(pulse_encoder != RT_NULL); in nu_qei_clear_count() 164 RT_ASSERT(pulse_encoder != RT_NULL); in nu_qei_control() 175 if (((nu_qei_t)pulse_encoder)->cmp_val) in nu_qei_control() 254 RT_ASSERT(pulse_encoder != RT_NULL); in nu_qei_set_maxval_type() 267 RT_ASSERT(pulse_encoder != RT_NULL); in nu_qei_set_cmpval() [all …]
|
| A D | drv_qei.h | 23 rt_int32_t nu_qei_get_maxval(rt_device_t *pulse_encoder); 24 rt_int32_t nu_qei_get_cmpval(rt_device_t *pulse_encoder); 25 rt_int32_t nu_qei_get_type(rt_device_t *pulse_encoder); 26 void nu_qei_set_maxval_type(rt_device_t *pulse_encoder, rt_uint32_t u32val, rt_uint8_t u8type); 27 void nu_qei_set_cmpval(rt_device_t *pulse_encoder, rt_uint32_t u32val);
|
| /bsp/nuvoton/libraries/ma35/rtt_port/ |
| A D | drv_qei.c | 124 RT_ASSERT(pulse_encoder != RT_NULL); in nu_qei_type() 126 switch (pulse_encoder->type) in nu_qei_type() 146 RT_ASSERT(pulse_encoder != RT_NULL); in nu_qei_set_cmpval() 167 RT_ASSERT(pulse_encoder != RT_NULL); in nu_qei_init() 184 RT_ASSERT(pulse_encoder != RT_NULL); in nu_qei_get_count() 191 RT_ASSERT(pulse_encoder != RT_NULL); in nu_qei_clear_count() 205 RT_ASSERT(pulse_encoder != RT_NULL); in nu_qei_control() 240 RT_ASSERT(pulse_encoder != RT_NULL); in nu_qei_get_maxval() 248 RT_ASSERT(pulse_encoder != RT_NULL); in nu_qei_get_cmpval() 255 RT_ASSERT(pulse_encoder != RT_NULL); in nu_qei_get_type() [all …]
|
| A D | drv_qei.h | 23 rt_int32_t nu_qei_get_maxval(struct rt_pulse_encoder_device *pulse_encoder); 24 rt_int32_t nu_qei_get_cmpval(struct rt_pulse_encoder_device *pulse_encoder); 25 rt_int32_t nu_qei_get_type(struct rt_pulse_encoder_device *pulse_encoder); 26 void nu_qei_set_maxval_type(struct rt_pulse_encoder_device *pulse_encoder, rt_uint32_t u32val, enum… 27 void nu_qei_set_cmpval(struct rt_pulse_encoder_device *pulse_encoder, rt_uint32_t u32val);
|
| /bsp/nuvoton/libraries/m460/rtt_port/ |
| A D | drv_eqei.c | 179 RT_ASSERT(pulse_encoder != RT_NULL); in nu_eqei_type() 181 switch (pulse_encoder->type) in nu_eqei_type() 202 RT_ASSERT(pulse_encoder != RT_NULL); in nu_eqei_set_cmpval() 224 RT_ASSERT(pulse_encoder != RT_NULL); in nu_eqei_init() 241 RT_ASSERT(pulse_encoder != RT_NULL); in nu_eqei_get_count() 248 RT_ASSERT(pulse_encoder != RT_NULL); in nu_eqei_clear_count() 262 RT_ASSERT(pulse_encoder != RT_NULL); in nu_eqei_control() 296 RT_ASSERT(pulse_encoder != RT_NULL); in nu_eqei_get_maxval() 304 RT_ASSERT(pulse_encoder != RT_NULL); in nu_eqei_get_cmpval() 311 RT_ASSERT(pulse_encoder != RT_NULL); in nu_eqei_get_type() [all …]
|
| A D | drv_eqei.h | 23 rt_int32_t nu_eqei_get_maxval(rt_device_t pulse_encoder); 24 rt_int32_t nu_eqei_get_cmpval(rt_device_t pulse_encoder); 25 rt_int32_t nu_eqei_get_type(rt_device_t pulse_encoder); 26 void nu_eqei_set_maxval_type(rt_device_t pulse_encoder, rt_uint32_t u32val, enum rt_pulse_encoder_t… 27 void nu_eqei_set_cmpval(rt_device_t pulse_encoder, rt_uint32_t u32val);
|
| /bsp/nxp/imx/imxrt/libraries/drivers/ |
| A D | drv_pulse_encoder.c | 50 struct rt_pulse_encoder_device pulse_encoder; member 86 rt_err_t pulse_encoder_init(struct rt_pulse_encoder_device *pulse_encoder) in pulse_encoder_init() argument 88 ENC_Type *base = ((imxrt_pulse_enccoder_device_t *)(pulse_encoder->parent.user_data))->base; in pulse_encoder_init() 96 rt_err_t pulse_encoder_clear_count(struct rt_pulse_encoder_device *pulse_encoder) in pulse_encoder_clear_count() argument 102 rt_int32_t pulse_encoder_get_count(struct rt_pulse_encoder_device *pulse_encoder) in pulse_encoder_get_count() argument 107 rt_err_t pulse_encoder_control(struct rt_pulse_encoder_device *pulse_encoder, rt_uint32_t cmd, void… in pulse_encoder_control() argument 116 result = pulse_encoder->ops->init(pulse_encoder); in pulse_encoder_control() 119 ENC_Deinit(((imxrt_pulse_enccoder_device_t *)(pulse_encoder->parent.user_data))->base); in pulse_encoder_control() 145 imxrt_pulse_encoder_obj[i].pulse_encoder.type = AB_PHASE_PULSE_ENCODER; in rt_hw_pulse_encoder_init() 146 imxrt_pulse_encoder_obj[i].pulse_encoder.ops = &_ops; in rt_hw_pulse_encoder_init() [all …]
|
| /bsp/stm32/libraries/HAL_Drivers/drivers/ |
| A D | drv_pulse_encoder.c | 51 struct rt_pulse_encoder_device pulse_encoder; member 80 rt_err_t pulse_encoder_init(struct rt_pulse_encoder_device *pulse_encoder) in pulse_encoder_init() argument 85 stm32_device = (struct stm32_pulse_encoder_device*)pulse_encoder; in pulse_encoder_init() 133 rt_err_t pulse_encoder_clear_count(struct rt_pulse_encoder_device *pulse_encoder) in pulse_encoder_clear_count() argument 136 stm32_device = (struct stm32_pulse_encoder_device*)pulse_encoder; in pulse_encoder_clear_count() 142 rt_int32_t pulse_encoder_get_count(struct rt_pulse_encoder_device *pulse_encoder) in pulse_encoder_get_count() argument 145 stm32_device = (struct stm32_pulse_encoder_device*)pulse_encoder; in pulse_encoder_get_count() 149 rt_err_t pulse_encoder_control(struct rt_pulse_encoder_device *pulse_encoder, rt_uint32_t cmd, void… in pulse_encoder_control() argument 153 stm32_device = (struct stm32_pulse_encoder_device*)pulse_encoder; in pulse_encoder_control() 292 stm32_pulse_encoder_obj[i].pulse_encoder.type = AB_PHASE_PULSE_ENCODER; in hw_pulse_encoder_init() [all …]
|
| /bsp/hc32/libraries/hc32_drivers/ |
| A D | drv_pulse_encoder.c | 74 struct rt_pulse_encoder_device pulse_encoder; member 440 hc32_device = (struct hc32_pulse_encoder_tmra_device *)pulse_encoder; in _tmra_pulse_encoder_init() 477 hc32_device = (struct hc32_pulse_encoder_tmra_device *)pulse_encoder; in _tmra_pulse_encoder_clear_count() 495 hc32_device = (struct hc32_pulse_encoder_tmra_device *)pulse_encoder; in _tmra_pulse_encoder_get_count() 503 hc32_device = (struct hc32_pulse_encoder_tmra_device *)pulse_encoder; in _tmra_pulse_encoder_control() 581 struct rt_pulse_encoder_device pulse_encoder; member 939 hc32_device = (struct hc32_pulse_encoder_tmr6_device *)pulse_encoder; in _tmr6_pulse_encoder_init() 976 hc32_device = (struct hc32_pulse_encoder_tmr6_device *)pulse_encoder; in _tmr6_pulse_encoder_clear_count() 994 hc32_device = (struct hc32_pulse_encoder_tmr6_device *)pulse_encoder; in _tmr6_pulse_encoder_get_count() 1047 hc32_pulse_encoder_tmra_obj[i].pulse_encoder.ops = &_tmra_ops; in rt_hw_pulse_encoder_init() [all …]
|
| /bsp/stm32/docs/ |
| A D | STM32系列外设驱动添加指南.md | 156  160  164  165 
|
| /bsp/stm32/stm32f103-keysking-learning/.ci/attachconfig/ |
| A D | ci.attachconfig.yml | 15 devices.pulse_encoder:
|