Home
last modified time | relevance | path

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

/components/drivers/include/drivers/
A Dadc.h70 struct rt_adc_device;
76 rt_err_t (*enabled)(struct rt_adc_device *device, rt_int8_t channel, rt_bool_t enabled);
77 rt_err_t (*convert)(struct rt_adc_device *device, rt_int8_t channel, rt_uint32_t *value);
78 rt_uint8_t (*get_resolution)(struct rt_adc_device *device);
79 rt_int16_t (*get_vref) (struct rt_adc_device *device);
84 struct rt_adc_device struct
89 typedef struct rt_adc_device *rt_adc_device_t; argument
/components/drivers/misc/
A Dadc.c27 struct rt_adc_device *adc = (struct rt_adc_device *)dev; in _adc_read()
45 rt_adc_device_t adc = (struct rt_adc_device *)dev; in _adc_control()

Completed in 4 milliseconds