RT-Thread RTOS 1.2.0
An open source embedded real-time operating system
载入中...
搜索中...
未找到
rt_dac_ops结构体 参考

#include <dac.h>

成员变量

rt_err_t(* disabled )(struct rt_dac_device *device, rt_uint32_t channel)
 
rt_err_t(* enabled )(struct rt_dac_device *device, rt_uint32_t channel)
 
rt_err_t(* convert )(struct rt_dac_device *device, rt_uint32_t channel, rt_uint32_t *value)
 
rt_uint8_t(* get_resolution )(struct rt_dac_device *device)
 

详细描述

Configuration of DAC device

在文件 dac.h74 行定义.

结构体成员变量说明

◆ disabled

rt_err_t(* rt_dac_ops::disabled) (struct rt_dac_device *device, rt_uint32_t channel)

在文件 dac.h76 行定义.

◆ enabled

rt_err_t(* rt_dac_ops::enabled) (struct rt_dac_device *device, rt_uint32_t channel)

在文件 dac.h77 行定义.

◆ convert

rt_err_t(* rt_dac_ops::convert) (struct rt_dac_device *device, rt_uint32_t channel, rt_uint32_t *value)

在文件 dac.h78 行定义.

◆ get_resolution

rt_uint8_t(* rt_dac_ops::get_resolution) (struct rt_dac_device *device)

在文件 dac.h79 行定义.