| /bsp/synwit/libraries/SWM320_CSL/SWM320_StdPeriph_Driver/ |
| A D | SWM320_adc.c | 203 static uint32_t chn2idx(uint32_t chn) in chn2idx() 230 uint32_t ADC_Read(ADC_TypeDef * ADCx, uint32_t chn) in ADC_Read() 250 uint32_t ADC_IsEOC(ADC_TypeDef * ADCx, uint32_t chn) in ADC_IsEOC() 280 void ADC_IntEOCEn(ADC_TypeDef * ADCx, uint32_t chn) in ADC_IntEOCEn() 295 void ADC_IntEOCDis(ADC_TypeDef * ADCx, uint32_t chn) in ADC_IntEOCDis() 310 void ADC_IntEOCClr(ADC_TypeDef * ADCx, uint32_t chn) in ADC_IntEOCClr() 340 void ADC_IntOVFEn(ADC_TypeDef * ADCx, uint32_t chn) in ADC_IntOVFEn() 355 void ADC_IntOVFDis(ADC_TypeDef * ADCx, uint32_t chn) in ADC_IntOVFDis() 370 void ADC_IntOVFClr(ADC_TypeDef * ADCx, uint32_t chn) in ADC_IntOVFClr() 400 void ADC_IntHFULLEn(ADC_TypeDef * ADCx, uint32_t chn) in ADC_IntHFULLEn() [all …]
|
| A D | SWM320_pwm.c | 205 uint16_t PWM_GetCycle(PWM_TypeDef * PWMx, uint32_t chn) in PWM_GetCycle() 242 uint16_t PWM_GetHDuty(PWM_TypeDef * PWMx, uint32_t chn) in PWM_GetHDuty() 279 uint8_t PWM_GetDeadzone(PWM_TypeDef * PWMx, uint32_t chn) in PWM_GetDeadzone() 300 void PWM_IntNCycleEn(PWM_TypeDef * PWMx, uint32_t chn) in PWM_IntNCycleEn() 344 void PWM_IntNCycleDis(PWM_TypeDef * PWMx, uint32_t chn) in PWM_IntNCycleDis() 388 void PWM_IntNCycleClr(PWM_TypeDef * PWMx, uint32_t chn) in PWM_IntNCycleClr() 432 uint32_t PWM_IntNCycleStat(PWM_TypeDef * PWMx, uint32_t chn) in PWM_IntNCycleStat() 481 void PWM_IntHEndEn(PWM_TypeDef * PWMx, uint32_t chn) in PWM_IntHEndEn() 525 void PWM_IntHEndDis(PWM_TypeDef * PWMx, uint32_t chn) in PWM_IntHEndDis() 569 void PWM_IntHEndClr(PWM_TypeDef * PWMx, uint32_t chn) in PWM_IntHEndClr() [all …]
|
| A D | SWM320_dma.c | 37 void DMA_CHM_Config(uint32_t chn, uint32_t src_addr, uint32_t src_addr_incr, uint32_t dst_addr, uin… in DMA_CHM_Config() 75 void DMA_CH_Open(uint32_t chn) in DMA_CH_Open() 87 void DMA_CH_Close(uint32_t chn) in DMA_CH_Close() 99 void DMA_CH_INTEn(uint32_t chn) in DMA_CH_INTEn() 111 void DMA_CH_INTDis(uint32_t chn) in DMA_CH_INTDis() 123 void DMA_CH_INTClr(uint32_t chn) in DMA_CH_INTClr() 135 uint32_t DMA_CH_INTStat(uint32_t chn) in DMA_CH_INTStat()
|
| /bsp/hpmicro/libraries/hpm_sdk/drivers/inc/ |
| A D | hpm_clc_drv.h | 96 static inline void clc_set_enable(CLC_Type *clc, clc_chn_t chn, bool enable) in clc_set_enable() 162 static inline uint32_t clc_get_irq_status(CLC_Type *clc, clc_chn_t chn) in clc_get_irq_status() 221 static inline uint32_t clc_get_pwm_period(CLC_Type *clc, clc_chn_t chn) in clc_get_pwm_period() 232 static inline uint32_t clc_get_output_value(CLC_Type *clc, clc_chn_t chn) in clc_get_output_value() 243 static inline uint32_t clc_get_timestamp(CLC_Type *clc, clc_chn_t chn) in clc_get_timestamp() 254 static inline int32_t clc_get_eadc_current_value(CLC_Type *clc, clc_chn_t chn) in clc_get_eadc_current_value() 265 static inline int32_t clc_get_eadc_previous0_value(CLC_Type *clc, clc_chn_t chn) in clc_get_eadc_previous0_value() 287 static inline int32_t clc_get_eadc_previous1_value(CLC_Type *clc, clc_chn_t chn) in clc_get_eadc_previous1_value() 309 static inline int32_t clc_get_2p2z_current_value(CLC_Type *clc, clc_chn_t chn) in clc_get_2p2z_current_value() 331 static inline int32_t clc_get_2p2z_previous0_value(CLC_Type *clc, clc_chn_t chn) in clc_get_2p2z_previous0_value() [all …]
|
| A D | hpm_pwmv2_drv.h | 370 static inline void pwmv2_enable_four_cmp(PWMV2_Type *pwm_x, pwm_channel_t chn) in pwmv2_enable_four_cmp() 381 static inline void pwmv2_disable_four_cmp(PWMV2_Type *pwm_x, pwm_channel_t chn) in pwmv2_disable_four_cmp() 416 static inline void pwmv2_enable_fault_from_pad(PWMV2_Type *pwm_x, pwm_channel_t chn) in pwmv2_enable_fault_from_pad() 427 static inline void pwmv2_disable_fault_from_pad(PWMV2_Type *pwm_x, pwm_channel_t chn) in pwmv2_disable_fault_from_pad() 460 static inline void pwmv2_enable_output_invert(PWMV2_Type *pwm_x, pwm_channel_t chn) in pwmv2_enable_output_invert() 471 static inline void pwmv2_disable_output_invert(PWMV2_Type *pwm_x, pwm_channel_t chn) in pwmv2_disable_output_invert() 507 static inline void pwmv2_channel_enable_output(PWMV2_Type *pwm_x, pwm_channel_t chn) in pwmv2_channel_enable_output() 598 static inline void pwmv2_enable_pair_mode(PWMV2_Type *pwm_x, pwm_channel_t chn) in pwmv2_enable_pair_mode() 609 static inline void pwmv2_disable_pair_mode(PWMV2_Type *pwm_x, pwm_channel_t chn) in pwmv2_disable_pair_mode() 716 static inline void pwmv2_enable_software_force(PWMV2_Type *pwm_x, pwm_channel_t chn) in pwmv2_enable_software_force() [all …]
|
| A D | hpm_pla_drv.h | 118 pla_channel_type_t chn; /**< pla channel */ member 167 pla_channel_type_t chn; /**< pla channel */ member 305 pla_channel_type_t chn, in pla_set_aoi_16to8_input_signal() 323 pla_channel_type_t chn, in pla_get_aoi_16to8_input_signal() 444 pla_channel_type_t chn, in pla_set_filter2() 460 pla_channel_type_t chn, in pla_get_filter2() 476 pla_channel_type_t chn, in pla_set_filter3() 492 pla_channel_type_t chn, in pla_get_filter3() 507 pla_channel_type_t chn, in pla_set_ff() 521 pla_channel_type_t chn, in pla_get_ff() [all …]
|
| A D | hpm_plb_drv.h | 202 static inline void plb_type_a_set_lut(PLB_Type *plb, plb_chn_t chn, plb_type_a_lut_num_t lut_num, p… in plb_type_a_set_lut() 214 static inline void plb_type_a_inject_by_sw(PLB_Type *plb, plb_chn_t chn, uint8_t inject_val) in plb_type_a_inject_by_sw() 227 static inline void plb_type_b_set_cmp_val(PLB_Type *plb, plb_chn_t chn, plb_type_b_cmp_t cmp_index,… in plb_type_b_set_cmp_val() 240 static inline void plb_type_b_set_cmp_mode(PLB_Type *plb, plb_chn_t chn, plb_type_b_cmp_t cmp_index… in plb_type_b_set_cmp_mode() 253 static inline void plb_type_b_inject_by_sw(PLB_Type *plb, plb_chn_t chn, uint32_t val) in plb_type_b_inject_by_sw()
|
| /bsp/synwit/libraries/SWM341_CSL/SWM341_StdPeriph_Driver/ |
| A D | SWM341_dma.c | 33 void DMA_CH_Init(uint32_t chn, DMA_InitStructure * initStruct) in DMA_CH_Init() 111 void DMA_CH_Open(uint32_t chn) in DMA_CH_Open() 123 void DMA_CH_Close(uint32_t chn) in DMA_CH_Close() 136 void DMA_CH_SetCount(uint32_t chn, uint32_t count) in DMA_CH_SetCount() 149 uint32_t DMA_CH_GetRemaining(uint32_t chn) in DMA_CH_GetRemaining() 162 void DMA_CH_SetSrcAddress(uint32_t chn, uint32_t address) in DMA_CH_SetSrcAddress() 175 void DMA_CH_SetDstAddress(uint32_t chn, uint32_t address) in DMA_CH_SetDstAddress() 189 void DMA_CH_INTEn(uint32_t chn, uint32_t it) in DMA_CH_INTEn() 205 void DMA_CH_INTDis(uint32_t chn, uint32_t it) in DMA_CH_INTDis() 221 void DMA_CH_INTClr(uint32_t chn, uint32_t it) in DMA_CH_INTClr() [all …]
|
| A D | SWM341_pwm.c | 193 void PWM_BrkConfig(PWM_TypeDef * PWMx, uint32_t chn, uint32_t brk, uint32_t out, uint32_t outN, uin… in PWM_BrkConfig() 272 void PWM_OutMask(PWM_TypeDef * PWMx, uint32_t chn, uint32_t evt, uint32_t out, uint32_t evt_n, uint… in PWM_OutMask() 332 void PWM_SetHDuty(PWM_TypeDef * PWMx, uint32_t chn, uint16_t hduty) in PWM_SetHDuty() 348 uint16_t PWM_GetHDuty(PWM_TypeDef * PWMx, uint32_t chn) in PWM_GetHDuty() 366 void PWM_SetHDuty2(PWM_TypeDef * PWMx, uint32_t chn, uint16_t hduty, uint16_t hduty2) in PWM_SetHDuty2() 389 void PWM_GetHDuty2(PWM_TypeDef * PWMx, uint32_t chn, uint16_t *hduty, uint16_t *hduty2) in PWM_GetHDuty2() 412 void PWM_SetDeadzone(PWM_TypeDef * PWMx, uint32_t chn, uint16_t deadzone) in PWM_SetDeadzone() 428 uint16_t PWM_GetDeadzone(PWM_TypeDef * PWMx, uint32_t chn) in PWM_GetDeadzone()
|
| /bsp/hpmicro/libraries/hpm_sdk/drivers/src/ |
| A D | hpm_rdc_drv.c | 63 uint32_t rdc_get_acc_avl(RDC_Type *ptr, rdc_input_acc_chn_t chn) in rdc_get_acc_avl() 72 void rdc_output_trig_offset_config(RDC_Type *ptr, rdc_output_trig_chn_t chn, int32_t offset) in rdc_output_trig_offset_config() 83 void rdc_output_trig_enable(RDC_Type *ptr, rdc_output_trig_chn_t chn) in rdc_output_trig_enable() 92 void rdc_output_trig_disable(RDC_Type *ptr, rdc_output_trig_chn_t chn) in rdc_output_trig_disable() 150 void rdc_set_edge_detection_offset(RDC_Type *ptr, rdc_input_acc_chn_t chn, int32_t offset) in rdc_set_edge_detection_offset() 184 void rdc_set_acc_sync_delay(RDC_Type *ptr, rdc_input_acc_chn_t chn, uint32_t delay) in rdc_set_acc_sync_delay()
|
| A D | hpm_pla_drv.c | 25 pla_channel_type_t chn, in pla_get_aoi_16to8_one_channel() 128 pla_channel_type_t chn, in pla_set_aoi_8to7_input_signal() 163 pla_channel_type_t chn, in pla_get_aoi_8to7_input_signal()
|
| A D | hpm_clc_drv.c | 11 void clc_config_param(CLC_Type *clc, clc_chn_t chn, clc_param_config_t *param) in clc_config_param() 26 hpm_stat_t clc_config_coeff(CLC_Type *clc, clc_chn_t chn, clc_coeff_zone_t zone, clc_coeff_config_t… in clc_config_coeff()
|
| A D | hpm_pwmv2_drv.c | 93 pwm_channel_t chn, pwmv2_config_t *pwm_config, in pwmv2_setup_waveform() 106 hpm_stat_t pwmv2_setup_waveform_in_pair(PWMV2_Type *pwm_x, pwm_channel_t chn, in pwmv2_setup_waveform_in_pair()
|
| A D | hpm_plb_drv.c | 11 void plb_type_b_set_lut(PLB_Type *plb, plb_chn_t chn, plb_type_b_lut_slice_t slice, plb_type_b_slic… in plb_type_b_set_lut()
|
| /bsp/ck802/libraries/common/pwm/ |
| A D | ck_pwm.c | 102 uint32_t chn = pwm_priv->ch_num; in drv_pwm_config() local 247 uint32_t chn = pwm_priv->ch_num; in drv_pwm_start() local 287 uint32_t chn = pwm_priv->ch_num; in drv_pwm_stop() local
|
| /bsp/at32/libraries/usbotg_library/src/ |
| A D | usbh_int.c | 155 void usbh_hch_in_handler(usbh_core_type *uhost, uint8_t chn) in usbh_hch_in_handler() 309 void usbh_hch_out_handler(usbh_core_type *uhost, uint8_t chn) in usbh_hch_out_handler() 496 uint8_t chn; in usbh_rx_qlvl_handler() local
|
| /bsp/n32/libraries/N32G45x_Firmware_Library/n32g45x_std_periph_driver/src/ |
| A D | n32g45x_tsc.c | 155 uint32_t i,chn,timeout,*pReg,nPos; in TSC_ConfigInternalResistor() local 209 uint32_t i, chn,timeout,*pReg; in TSC_ConfigThreshold() local 263 uint32_t i,chn, *pReg; in TSC_GetChannelCfg() local
|
| /bsp/n32/libraries/N32G4FR_Firmware_Library/n32g4fr_std_periph_driver/src/ |
| A D | n32g4fr_tsc.c | 155 uint32_t i,chn,timeout,*pReg,nPos; in TSC_ConfigInternalResistor() local 209 uint32_t i, chn,timeout,*pReg; in TSC_ConfigThreshold() local 263 uint32_t i,chn, *pReg; in TSC_GetChannelCfg() local
|
| /bsp/n32/libraries/N32WB452_Firmware_Library/n32wb452_std_periph_driver/src/ |
| A D | n32wb452_tsc.c | 155 uint32_t i,chn,timeout,*pReg,nPos; in TSC_ConfigInternalResistor() local 209 uint32_t i, chn,timeout,*pReg; in TSC_ConfigThreshold() local 263 uint32_t i,chn, *pReg; in TSC_GetChannelCfg() local
|
| /bsp/k210/drivers/ |
| A D | dmalock.c | 41 int _dmalock_sync_take(dmac_channel_number_t *chn, int timeout_ms, const char *name) in _dmalock_sync_take() 65 void dmalock_release(dmac_channel_number_t chn) in dmalock_release()
|
| /bsp/n32/libraries/N32L43x_Firmware_Library/n32l43x_std_periph_driver/src/ |
| A D | n32l43x_tsc.c | 165 uint32_t i,chn,timeout,nReg,nPos; in TSC_ConfigInternalResistor() local 214 uint32_t i, chn,timeout; in TSC_ConfigThreshold() local
|
| /bsp/n32/libraries/N32L40x_Firmware_Library/n32l40x_std_periph_driver/src/ |
| A D | n32l40x_tsc.c | 165 uint32_t i,chn,timeout,nReg,nPos; in TSC_ConfigInternalResistor() local 214 uint32_t i, chn,timeout; in TSC_ConfigThreshold() local
|
| /bsp/n32/libraries/N32G43x_Firmware_Library/n32g43x_std_periph_driver/src/ |
| A D | n32g43x_tsc.c | 165 uint32_t i,chn,timeout,nReg,nPos; in TSC_ConfigInternalResistor() local 214 uint32_t i, chn,timeout; in TSC_ConfigThreshold() local
|
| /bsp/n32g452xx/Libraries/N32_Std_Driver/n32g45x_std_periph_driver/src/ |
| A D | n32g45x_tsc.c | 159 uint32_t i,chn,timeout,nReg,nPos; in TSC_ConfigInternalResistor() local 208 uint32_t i, chn,timeout; in TSC_ConfigThreshold() local
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/disp2/disp/de/lowlevel_v2x/ |
| A D | de_feat.c | 1231 int de_feat_get_num_layers_by_chn(unsigned int disp, unsigned int chn) in de_feat_get_num_layers_by_chn() 1265 int de_feat_is_support_vep_by_chn(unsigned int disp, unsigned int chn) in de_feat_is_support_vep_by_chn() 1297 int de_feat_is_support_lbc_by_chn(unsigned int disp, unsigned int chn) in de_feat_is_support_lbc_by_chn() 1332 int de_feat_is_support_scale_by_chn(unsigned int disp, unsigned int chn) in de_feat_is_support_scale_by_chn()
|