Home
last modified time | relevance | path

Searched refs:dac (Results 1 – 25 of 30) sorted by relevance

12

/bsp/efm32/Libraries/emlib/src/
A Dem_opamp.c256 dac->BIASPROG = ( dac->BIASPROG in OPAMP_Enable()
265 dac->CAL = ( dac->CAL & ~_DAC_CAL_CH0OFFSET_MASK ) | in OPAMP_Enable()
273 dac->CAL = ( dac->CAL & ~_DAC_CAL_CH0OFFSET_MASK ) | in OPAMP_Enable()
288 dac->OPACTRL = ( dac->OPACTRL in OPAMP_Enable()
304 dac->BIASPROG = ( dac->BIASPROG in OPAMP_Enable()
313 dac->CAL = ( dac->CAL & ~_DAC_CAL_CH1OFFSET_MASK ) | in OPAMP_Enable()
321 dac->CAL = ( dac->CAL & ~_DAC_CAL_CH1OFFSET_MASK ) | in OPAMP_Enable()
336 dac->OPACTRL = ( dac->OPACTRL in OPAMP_Enable()
359 dac->BIASPROG = ( dac->BIASPROG in OPAMP_Enable()
376 dac->CAL = ( dac->CAL & ~_DAC_OPAOFFSET_OPA2OFFSET_MASK ) | in OPAMP_Enable()
[all …]
A Dem_dac.c84 EFM_ASSERT(DAC_REF_VALID(dac)); in DAC_Enable()
89 reg = &(dac->CH0CTRL); in DAC_Enable()
93 reg = &(dac->CH1CTRL); in DAC_Enable()
121 EFM_ASSERT(DAC_REF_VALID(dac)); in DAC_Init()
131 dac->CAL = DEVINFO->DAC0CAL1; in DAC_Init()
135 dac->CAL = DEVINFO->DAC0CAL2; in DAC_Init()
139 dac->CAL = DEVINFO->DAC0CAL0; in DAC_Init()
169 dac->CTRL = tmp; in DAC_Init()
214 dac->CH1CTRL = tmp; in DAC_InitChannel()
218 dac->CH0CTRL = tmp; in DAC_InitChannel()
[all …]
/bsp/efm32/Libraries/emlib/inc/
A Dem_dac.h209 void DAC_Enable(DAC_TypeDef *dac, unsigned int ch, bool enable);
210 void DAC_Init(DAC_TypeDef *dac, const DAC_Init_TypeDef *init);
211 void DAC_InitChannel(DAC_TypeDef *dac,
228 dac->IFC = flags; in DAC_IntClear()
245 dac->IEN &= ~(flags); in DAC_IntDisable()
267 dac->IEN |= flags; in DAC_IntEnable()
285 __STATIC_INLINE uint32_t DAC_IntGet(DAC_TypeDef *dac) in DAC_IntGet() argument
287 return(dac->IF); in DAC_IntGet()
302 __STATIC_INLINE void DAC_IntSet(DAC_TypeDef *dac, uint32_t flags) in DAC_IntSet() argument
304 dac->IFS = flags; in DAC_IntSet()
[all …]
A Dem_opamp.h532 void OPAMP_Disable(DAC_TypeDef *dac, OPAMP_TypeDef opa);
533 void OPAMP_Enable(DAC_TypeDef *dac, OPAMP_TypeDef opa, const OPAMP_Init_TypeDef *init);
/bsp/nxp/mcx/mcxn/Libraries/drivers/
A Ddrv_dac.c77 struct mcx_dac *dac = (struct mcx_dac *)device->parent.user_data; in mcxn_dac_disabled() local
79 if (dac->dac_base == DAC2) { in mcxn_dac_disabled()
80 DAC14_Deinit(dac->dac_base); in mcxn_dac_disabled()
82 DAC_Deinit(dac->dac_base); in mcxn_dac_disabled()
93 if (dac->dac_base == DAC2) { in mcxn_dac_enabled()
97 DAC14_Init(dac->dac_base, &dac14ConfigStruct); in mcxn_dac_enabled()
101 DAC_Init(dac->dac_base, &dacConfigStruct); in mcxn_dac_enabled()
102 DAC_Enable(dac->dac_base, RT_TRUE); in mcxn_dac_enabled()
112 if (dac->dac_base == DAC2) { in mcxn_dac_write()
116 DAC14_SetData(dac->dac_base, *value); in mcxn_dac_write()
[all …]
/bsp/renesas/libraries/HAL_Drivers/
A Ddrv_dac.c47 struct ra_dac_map *dac = (struct ra_dac_map *)device->parent.user_data; in ra_dac_disabled() local
48 if (FSP_SUCCESS != R_DAC_Stop((dac_ctrl_t *)dac->g_ctrl)) in ra_dac_disabled()
50 LOG_E("dac%c stop failed.", dac->name); in ra_dac_disabled()
59 struct ra_dac_map *dac = (struct ra_dac_map *)device->parent.user_data; in ra_dac_enabled() local
60 if (FSP_SUCCESS != R_DAC_Start((dac_ctrl_t *)dac->g_ctrl)) in ra_dac_enabled()
62 LOG_E("dac%c start failed.", dac->name); in ra_dac_enabled()
71 struct ra_dac_map *dac = (struct ra_dac_map *)device->parent.user_data; in ra_dac_write() local
72 if (FSP_SUCCESS != R_DAC_Write((dac_ctrl_t *)dac->g_ctrl, *value)) in ra_dac_write()
74 LOG_E("dac%c set value failed.", dac->name); in ra_dac_write()
/bsp/stm32/stm32mp157a-st-ev1/
A DREADME_zh.md119 2. 输入`menuconfig`命令, 进入 Hardware Drivers config 打开 dac,保存并退出;
124 在使用设备前,需要先查找设备是否存在,可以使用命令 `dac probe` 后面跟注册的 DAC 设备的名称。如下所示:
127 msh />dac probe dac1
131 使能设备的某个通道可以使用命令 `dac enable` 后面跟通道号。
134 msh />dac enable 1
138 设置 DAC 设备某个通道的数据可以使用命令 `dac write` 后面跟通道号。
141 msh />dac write 1 1000
145 关闭设备的某个通道可以使用命令 `dac disable` 后面跟通道号。
148 msh />dac disable 1
A DREADME.md116 …you can use the name of the DAC device that is enrolled with the command `dac probe` . As shown a…
119 msh />dac probe dac1
123 Enable the channel of the device can use the command `dac enable` followed by the channel number.
126 msh />dac probe dac1
130 Set up the data of the channel for a DAC device can use the command `dac write` followed by the ch…
133 msh />dac write 1 1000
137 Disable the channel of the device can use the command `dac disable` followed by the channel number.
140 msh />dac disable 1
/bsp/stm32/stm32mp157a-st-discovery/
A DREADME_zh.md117 2. 输入`menuconfig`命令, 进入 Hardware Drivers config 打开 dac,保存并退出;
122 在使用设备前,需要先查找设备是否存在,可以使用命令 `dac probe` 后面跟注册的 DAC 设备的名称。如下所示:
125 msh />dac probe dac1
129 使能设备的某个通道可以使用命令 `dac enable` 后面跟通道号。
132 msh />dac enable 1
136 设置 DAC 设备某个通道的数据可以使用命令 `dac write` 后面跟通道号。
139 msh />dac write 1 1000
143 关闭设备的某个通道可以使用命令 `dac disable` 后面跟通道号。
146 msh />dac disable 1
/bsp/wch/risc-v/ch32v307v-r1/.ci/attachconfig/
A Dci.attachconfig.yml9 devices.dac:
/bsp/wch/risc-v/yd-ch32v307vct6/.ci/attachconfig/
A Dci.attachconfig.yml9 devices.dac:
/bsp/hc32/tests/
A Dtest_dac.c111 MSH_CMD_EXPORT(dac_vol_sample, dac voltage convert sample < dac1 | dac2 value >);
/bsp/nuvoton/libraries/ma35/
A DREADME.md10 | DISP | RT_Device_Class_Grapnis () | ***dac[0-1]*** |
/bsp/stm32/stm32f429-atk-apollo/board/ports/audio/
A Ddrv_wm8978.h43 void wm8978_output_set(struct rt_i2c_bus_device *dev, rt_bool_t dac, rt_bool_t bypass);
/bsp/nuvoton/libraries/m460/
A DREADME.md13 | DAC | RT_Device_Class_Miscellaneous (DAC) | ***dac[0-1]*** |
/bsp/apm32/libraries/Drivers/
A Ddrv_dac.c25 DAC_T *dac; member
/bsp/synwit/swm341-mini/applications/
A Dmain.c122 MSH_CMD_EXPORT(dac_vol_sample, dac voltage convert sample);
/bsp/hpmicro/libraries/hpm_sdk/
A DCHANGELOG.md84 - samples: rdc: remove unused dac driver in sample
121 - samples: drivers: adc12/adc16/dac: support abort feature in interactive terminal
481 - soc: HPM6280: fix adc/dac clock setting
633 - drivers: dac: fix the upper limit value setting for DAC_OUTPUT
800 - drivers: adc/dac: fix interrupt status clearing
1287 - drivers: clock: returns wrong adc/dac clock in HPM6360
1366 - drivers: add ffa, pllctlv2, dac
1370 - samples: drivers: dac, ffa
/bsp/n32/n32g457qel-stb/
A Dproject.ewp2282 <name>$PROJ_DIR$\..\..\..\components\drivers\misc\dac.c</name>
/bsp/n32/n32g45xml-stb/
A Dproject.ewp2282 <name>$PROJ_DIR$\..\..\..\components\drivers\misc\dac.c</name>
/bsp/n32/n32g45xvl-stb/
A Dproject.ewp2282 <name>$PROJ_DIR$\..\..\..\components\drivers\misc\dac.c</name>
/bsp/n32/n32g4frml-stb/
A Dproject.ewp2258 <name>$PROJ_DIR$\..\..\..\components\drivers\misc\dac.c</name>
/bsp/n32/n32l43xrl-stb/
A Dproject.ewp2282 <name>$PROJ_DIR$\..\..\..\components\drivers\misc\dac.c</name>
/bsp/n32/n32wb45xl-evb/
A Dproject.ewp2282 <name>$PROJ_DIR$\..\..\..\components\drivers\misc\dac.c</name>
/bsp/n32/n32g43xcl-stb/
A Dproject.ewp2282 <name>$PROJ_DIR$\..\..\..\components\drivers\misc\dac.c</name>

Completed in 65 milliseconds

12