Home
last modified time | relevance | path

Searched refs:DAC_Channel (Results 1 – 8 of 8) sorted by relevance

/external/platform/stm32f0xx/STM32F0xx_HAL_Driver/inc/
A Dstm32f0xx_ll_dac.h587 >> (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK) in LL_DAC_GetTriggerSource()
637 >> (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK) in LL_DAC_GetWaveAutoGeneration()
709 >> (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK) in LL_DAC_GetWaveNoiseLFSR()
781 >> (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK) in LL_DAC_GetWaveTriangleAmplitude()
827 >> (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK) in LL_DAC_GetOutputBuffer()
857 DAC_CR_DMAEN1 << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK)); in LL_DAC_EnableDMAReq()
969 DAC_CR_EN1 << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK)); in LL_DAC_Enable()
988 DAC_CR_EN1 << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK)); in LL_DAC_Disable()
1036 DAC_CR_TEN1 << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK)); in LL_DAC_EnableTrigger()
1055 DAC_CR_TEN1 << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK)); in LL_DAC_DisableTrigger()
[all …]
/external/platform/stm32f1xx/STM32F10x_StdPeriph_Driver/src/
A Dstm32f10x_dac.c128 tmpreg1 &= ~(CR_CLEAR_MASK << DAC_Channel); in DAC_Init()
138 tmpreg1 |= tmpreg2 << DAC_Channel; in DAC_Init()
175 assert_param(IS_DAC_CHANNEL(DAC_Channel)); in DAC_Cmd()
180 DAC->CR |= (DAC_CR_EN1 << DAC_Channel); in DAC_Cmd()
185 DAC->CR &= ~(DAC_CR_EN1 << DAC_Channel); in DAC_Cmd()
205 assert_param(IS_DAC_CHANNEL(DAC_Channel)); in DAC_ITConfig()
212 DAC->CR |= (DAC_IT << DAC_Channel); in DAC_ITConfig()
322 DAC->CR |= DAC_Wave << DAC_Channel; in DAC_WaveGenerationCmd()
327 DAC->CR &= ~(DAC_Wave << DAC_Channel); in DAC_WaveGenerationCmd()
495 DAC->SR = (DAC_FLAG << DAC_Channel); in DAC_ClearFlag()
[all …]
/external/platform/stm32f2xx/STM32F2xx_StdPeriph_Driver/src/
A Dstm32f2xx_dac.c213 tmpreg1 &= ~(CR_CLEAR_MASK << DAC_Channel); in DAC_Init()
224 tmpreg1 |= tmpreg2 << DAC_Channel; in DAC_Init()
262 assert_param(IS_DAC_CHANNEL(DAC_Channel)); in DAC_Cmd()
268 DAC->CR |= (DAC_CR_EN1 << DAC_Channel); in DAC_Cmd()
290 assert_param(IS_DAC_CHANNEL(DAC_Channel)); in DAC_SoftwareTriggerCmd()
345 assert_param(IS_DAC_CHANNEL(DAC_Channel)); in DAC_WaveGenerationCmd()
352 DAC->CR |= DAC_Wave << DAC_Channel; in DAC_WaveGenerationCmd()
357 DAC->CR &= ~(DAC_Wave << DAC_Channel); in DAC_WaveGenerationCmd()
561 DAC->CR |= (DAC_IT << DAC_Channel); in DAC_ITConfig()
625 DAC->SR = (DAC_FLAG << DAC_Channel); in DAC_ClearFlag()
[all …]
/external/platform/stm32f4xx/STM32F4xx_StdPeriph_Driver/src/
A Dstm32f4xx_dac.c213 tmpreg1 &= ~(CR_CLEAR_MASK << DAC_Channel); in DAC_Init()
224 tmpreg1 |= tmpreg2 << DAC_Channel; in DAC_Init()
262 assert_param(IS_DAC_CHANNEL(DAC_Channel)); in DAC_Cmd()
268 DAC->CR |= (DAC_CR_EN1 << DAC_Channel); in DAC_Cmd()
290 assert_param(IS_DAC_CHANNEL(DAC_Channel)); in DAC_SoftwareTriggerCmd()
345 assert_param(IS_DAC_CHANNEL(DAC_Channel)); in DAC_WaveGenerationCmd()
352 DAC->CR |= DAC_Wave << DAC_Channel; in DAC_WaveGenerationCmd()
357 DAC->CR &= ~(DAC_Wave << DAC_Channel); in DAC_WaveGenerationCmd()
561 DAC->CR |= (DAC_IT << DAC_Channel); in DAC_ITConfig()
625 DAC->SR = (DAC_FLAG << DAC_Channel); in DAC_ClearFlag()
[all …]
/external/platform/stm32f2xx/STM32F2xx_StdPeriph_Driver/inc/
A Dstm32f2xx_dac.h269 void DAC_Init(uint32_t DAC_Channel, DAC_InitTypeDef* DAC_InitStruct);
271 void DAC_Cmd(uint32_t DAC_Channel, FunctionalState NewState);
272 void DAC_SoftwareTriggerCmd(uint32_t DAC_Channel, FunctionalState NewState);
274 void DAC_WaveGenerationCmd(uint32_t DAC_Channel, uint32_t DAC_Wave, FunctionalState NewState);
278 uint16_t DAC_GetDataOutputValue(uint32_t DAC_Channel);
281 void DAC_DMACmd(uint32_t DAC_Channel, FunctionalState NewState);
284 void DAC_ITConfig(uint32_t DAC_Channel, uint32_t DAC_IT, FunctionalState NewState);
285 FlagStatus DAC_GetFlagStatus(uint32_t DAC_Channel, uint32_t DAC_FLAG);
286 void DAC_ClearFlag(uint32_t DAC_Channel, uint32_t DAC_FLAG);
287 ITStatus DAC_GetITStatus(uint32_t DAC_Channel, uint32_t DAC_IT);
[all …]
/external/platform/stm32f4xx/STM32F4xx_StdPeriph_Driver/inc/
A Dstm32f4xx_dac.h262 void DAC_Init(uint32_t DAC_Channel, DAC_InitTypeDef* DAC_InitStruct);
264 void DAC_Cmd(uint32_t DAC_Channel, FunctionalState NewState);
265 void DAC_SoftwareTriggerCmd(uint32_t DAC_Channel, FunctionalState NewState);
267 void DAC_WaveGenerationCmd(uint32_t DAC_Channel, uint32_t DAC_Wave, FunctionalState NewState);
271 uint16_t DAC_GetDataOutputValue(uint32_t DAC_Channel);
274 void DAC_DMACmd(uint32_t DAC_Channel, FunctionalState NewState);
277 void DAC_ITConfig(uint32_t DAC_Channel, uint32_t DAC_IT, FunctionalState NewState);
278 FlagStatus DAC_GetFlagStatus(uint32_t DAC_Channel, uint32_t DAC_FLAG);
279 void DAC_ClearFlag(uint32_t DAC_Channel, uint32_t DAC_FLAG);
280 ITStatus DAC_GetITStatus(uint32_t DAC_Channel, uint32_t DAC_IT);
[all …]
/external/platform/stm32f1xx/STM32F10x_StdPeriph_Driver/inc/
A Dstm32f10x_dac.h278 void DAC_Init(uint32_t DAC_Channel, DAC_InitTypeDef* DAC_InitStruct);
280 void DAC_Cmd(uint32_t DAC_Channel, FunctionalState NewState);
282 void DAC_ITConfig(uint32_t DAC_Channel, uint32_t DAC_IT, FunctionalState NewState);
284 void DAC_DMACmd(uint32_t DAC_Channel, FunctionalState NewState);
285 void DAC_SoftwareTriggerCmd(uint32_t DAC_Channel, FunctionalState NewState);
287 void DAC_WaveGenerationCmd(uint32_t DAC_Channel, uint32_t DAC_Wave, FunctionalState NewState);
291 uint16_t DAC_GetDataOutputValue(uint32_t DAC_Channel);
293 FlagStatus DAC_GetFlagStatus(uint32_t DAC_Channel, uint32_t DAC_FLAG);
294 void DAC_ClearFlag(uint32_t DAC_Channel, uint32_t DAC_FLAG);
295 ITStatus DAC_GetITStatus(uint32_t DAC_Channel, uint32_t DAC_IT);
[all …]
/external/platform/stm32f0xx/STM32F0xx_HAL_Driver/
A Dstm32f0xx_ll_dac.c185 ErrorStatus LL_DAC_Init(DAC_TypeDef *DACx, uint32_t DAC_Channel, LL_DAC_InitTypeDef *DAC_InitStruct) in LL_DAC_Init() argument
191 assert_param(IS_LL_DAC_CHANNEL(DACx, DAC_Channel)); in LL_DAC_Init()
204 if(LL_DAC_IsEnabled(DACx, DAC_Channel) == 0U) in LL_DAC_Init()
220 ) << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK) in LL_DAC_Init()
226 ) << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK) in LL_DAC_Init()
235 ) << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK) in LL_DAC_Init()
240 ) << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK) in LL_DAC_Init()

Completed in 15 milliseconds