|
STM32G474xx HAL用户手册
|
DAC句柄结构体定义。 更多详情...
#include <stm32g4xx_hal_dac.h>
数据字段 | |
| DAC_TypeDef * | Instance |
| __IO HAL_DAC_StateTypeDef | State |
| HAL_LockTypeDef | Lock |
| DMA_HandleTypeDef * | DMA_Handle1 |
| DMA_HandleTypeDef * | DMA_Handle2 |
| __IO uint32_t | ErrorCode |
| void(* | ConvCpltCallbackCh1 )(struct __DAC_HandleTypeDef *hdac) |
| void(* | ConvHalfCpltCallbackCh1 )(struct __DAC_HandleTypeDef *hdac) |
| void(* | ErrorCallbackCh1 )(struct __DAC_HandleTypeDef *hdac) |
| void(* | DMAUnderrunCallbackCh1 )(struct __DAC_HandleTypeDef *hdac) |
| void(* | ConvCpltCallbackCh2 )(struct __DAC_HandleTypeDef *hdac) |
| void(* | ConvHalfCpltCallbackCh2 )(struct __DAC_HandleTypeDef *hdac) |
| void(* | ErrorCallbackCh2 )(struct __DAC_HandleTypeDef *hdac) |
| void(* | DMAUnderrunCallbackCh2 )(struct __DAC_HandleTypeDef *hdac) |
| void(* | MspInitCallback )(struct __DAC_HandleTypeDef *hdac) |
| void(* | MspDeInitCallback )(struct __DAC_HandleTypeDef *hdac) |
DAC句柄结构体定义。
定义于文件 63 行 stm32g4xx_hal_dac.h。
| void(* __DAC_HandleTypeDef::ConvCpltCallbackCh1)(struct __DAC_HandleTypeDef *hdac) |
| void(* __DAC_HandleTypeDef::ConvCpltCallbackCh2)(struct __DAC_HandleTypeDef *hdac) |
| void(* __DAC_HandleTypeDef::ConvHalfCpltCallbackCh1)(struct __DAC_HandleTypeDef *hdac) |
| void(* __DAC_HandleTypeDef::ConvHalfCpltCallbackCh2)(struct __DAC_HandleTypeDef *hdac) |
通道1的DMA处理器指针
定义于文件 74 行 stm32g4xx_hal_dac.h。
参考自 HAL_DAC_Start_DMA()、HAL_DAC_Stop_DMA()、HAL_DACEx_DualStart_DMA(),以及 HAL_DACEx_DualStop_DMA()。
通道2的DMA处理器指针
定义于文件 76 行 stm32g4xx_hal_dac.h。
参考自 HAL_DAC_Start_DMA()、HAL_DAC_Stop_DMA()、HAL_DACEx_DualStart_DMA(),以及 HAL_DACEx_DualStop_DMA()。
| void(* __DAC_HandleTypeDef::DMAUnderrunCallbackCh1)(struct __DAC_HandleTypeDef *hdac) |
| void(* __DAC_HandleTypeDef::DMAUnderrunCallbackCh2)(struct __DAC_HandleTypeDef *hdac) |
| void(* __DAC_HandleTypeDef::ErrorCallbackCh1)(struct __DAC_HandleTypeDef *hdac) |
| void(* __DAC_HandleTypeDef::ErrorCallbackCh2)(struct __DAC_HandleTypeDef *hdac) |