|
STM32G474xx HAL 用户手册
|
HRTIM 定时器配置与控制函数。 更多...
函数 | |
| HAL_StatusTypeDef | HAL_HRTIM_WaveformTimerConfig (HRTIM_HandleTypeDef *hhrtim, uint32_t TimerIdx, const HRTIM_TimerCfgTypeDef *pTimerCfg) |
| 配置在波形模式下运行的定时器的一般行为。 | |
| HAL_StatusTypeDef | HAL_HRTIM_WaveformTimerControl (HRTIM_HandleTypeDef *hhrtim, uint32_t TimerIdx, const HRTIM_TimerCtlTypeDef *pTimerCtl) |
| 配置在波形模式下运行的定时器的一般行为。 | |
| HAL_StatusTypeDef | HAL_HRTIM_TimerDualChannelDacConfig (HRTIM_HandleTypeDef *hhrtim, uint32_t TimerIdx, const HRTIM_TimerCtlTypeDef *pTimerCtl) |
| 配置在波形模式下运行的定时器的双通道 DAC 行为。 | |
| HAL_StatusTypeDef | HAL_HRTIM_TimerEventFilteringConfig (HRTIM_HandleTypeDef *hhrtim, uint32_t TimerIdx, uint32_t Event, const HRTIM_TimerEventFilteringCfgTypeDef *pTimerEventFilteringCfg) |
| 配置定时器的事件滤波功能(消隐、窗口化)。 | |
| HAL_StatusTypeDef | HAL_HRTIM_ExtEventCounterConfig (HRTIM_HandleTypeDef *hhrtim, uint32_t TimerIdx, uint32_t EventCounter, const HRTIM_ExternalEventCfgTypeDef *pTimerExternalEventCfg) |
| 配置定时器的外部事件计数器 A 或 B(源、阈值、复位模式),但不启用:之后调用 HAL_HRTIM_ExternalEventCounterEnable。 | |
| HAL_StatusTypeDef | HAL_HRTIM_ExtEventCounterEnable (HRTIM_HandleTypeDef *hhrtim, uint32_t TimerIdx, uint32_t EventCounter) |
| 启用定时器的外部事件计数器 A 或 B。 | |
| HAL_StatusTypeDef | HAL_HRTIM_ExtEventCounterDisable (HRTIM_HandleTypeDef *hhrtim, uint32_t TimerIdx, uint32_t EventCounter) |
| 禁用定时器的外部事件计数器 A 或 B。 | |
| HAL_StatusTypeDef | HAL_HRTIM_ExtEventCounterReset (HRTIM_HandleTypeDef *hhrtim, uint32_t TimerIdx, uint32_t EventCounter) |
| 复位定时器的外部事件计数器 A 或 B。 | |
| HAL_StatusTypeDef | HAL_HRTIM_DeadTimeConfig (HRTIM_HandleTypeDef *hhrtim, uint32_t TimerIdx, const HRTIM_DeadTimeCfgTypeDef *pDeadTimeCfg) |
| 配置定时器的死区插入功能。 | |
| HAL_StatusTypeDef | HAL_HRTIM_ChopperModeConfig (HRTIM_HandleTypeDef *hhrtim, uint32_t TimerIdx, const HRTIM_ChopperModeCfgTypeDef *pChopperModeCfg) |
| 配置定时器的斩波模式功能。 | |
| HAL_StatusTypeDef | HAL_HRTIM_BurstDMAConfig (HRTIM_HandleTypeDef *hhrtim, uint32_t TimerIdx, uint32_t RegistersToUpdate) |
| 配置定时器的突发 DMA 控制器。 | |
| HAL_StatusTypeDef | HAL_HRTIM_WaveformCompareConfig (HRTIM_HandleTypeDef *hhrtim, uint32_t TimerIdx, uint32_t CompareUnit, const HRTIM_CompareCfgTypeDef *pCompareCfg) |
| 配置在波形模式下运行的定时器的比较单元。 | |
| HAL_StatusTypeDef | HAL_HRTIM_WaveformCaptureConfig (HRTIM_HandleTypeDef *hhrtim, uint32_t TimerIdx, uint32_t CaptureUnit, const HRTIM_CaptureCfgTypeDef *pCaptureCfg) |
| 配置在波形模式下运行的定时器的捕获单元。 | |
| HAL_StatusTypeDef | HAL_HRTIM_WaveformOutputConfig (HRTIM_HandleTypeDef *hhrtim, uint32_t TimerIdx, uint32_t Output, const HRTIM_OutputCfgTypeDef *pOutputCfg) |
| 配置在波形模式下运行的定时器的输出。 | |
| HAL_StatusTypeDef | HAL_HRTIM_WaveformSetOutputLevel (HRTIM_HandleTypeDef *hhrtim, uint32_t TimerIdx, uint32_t Output, uint32_t OutputLevel) |
| 强制定时器输出为其有效或无效状态。 | |
| HAL_StatusTypeDef | HAL_HRTIM_WaveformOutputStart (HRTIM_HandleTypeDef *hhrtim, uint32_t OutputsToStart) |
| 启用在指定输出上生成波形信号。输出可以组合(或运算)以允许同时启用输出。 | |
| HAL_StatusTypeDef | HAL_HRTIM_WaveformOutputStop (HRTIM_HandleTypeDef *hhrtim, uint32_t OutputsToStop) |
| 禁用在指定输出上生成波形信号。输出可以组合(或运算)以允许同时禁用输出。 | |
| HAL_StatusTypeDef | HAL_HRTIM_WaveformCountStart (HRTIM_HandleTypeDef *hhrtim, uint32_t Timers) |
| 启动在波形模式下运行的指定定时器的计数器。定时器可以组合(或运算)以允许同时启动计数器。 | |
| HAL_StatusTypeDef | HAL_HRTIM_WaveformCountStop (HRTIM_HandleTypeDef *hhrtim, uint32_t Timers) |
| 停止在波形模式下运行的指定定时器的计数器。定时器可以组合(或运算)以允许同时停止计数器。 | |
| HAL_StatusTypeDef | HAL_HRTIM_WaveformCountStart_IT (HRTIM_HandleTypeDef *hhrtim, uint32_t Timers) |
| 启动在波形模式下运行的指定定时器的计数器。定时器可以组合(或运算)以允许同时启动计数器。 | |
| HAL_StatusTypeDef | HAL_HRTIM_WaveformCountStop_IT (HRTIM_HandleTypeDef *hhrtim, uint32_t Timers) |
| 停止在波形模式下运行的指定定时器的计数器。定时器可以组合(或运算)以允许同时停止计数器。 | |
| HAL_StatusTypeDef | HAL_HRTIM_WaveformCountStart_DMA (HRTIM_HandleTypeDef *hhrtim, uint32_t Timers) |
| 启动在波形模式下运行的指定定时器的计数器。定时器可以组合(或运算)以允许同时启动计数器。 | |
| HAL_StatusTypeDef | HAL_HRTIM_WaveformCountStop_DMA (HRTIM_HandleTypeDef *hhrtim, uint32_t Timers) |
| 停止在波形模式下运行的指定定时器的计数器。定时器可以组合(或运算)以允许同时停止计数器。 | |
| HAL_StatusTypeDef | HAL_HRTIM_BurstModeCtl (HRTIM_HandleTypeDef *hhrtim, uint32_t Enable) |
| 启用或禁用 HRTIM 突发模式控制器。 | |
| HAL_StatusTypeDef | HAL_HRTIM_BurstModeSoftwareTrigger (HRTIM_HandleTypeDef *hhrtim) |
| 触发突发模式操作。 | |
| HAL_StatusTypeDef | HAL_HRTIM_SoftwareCapture (HRTIM_HandleTypeDef *hhrtim, uint32_t TimerIdx, uint32_t CaptureUnit) |
| 在指定的捕获单元上触发软件捕获。 | |
| HAL_StatusTypeDef | HAL_HRTIM_SoftwareUpdate (HRTIM_HandleTypeDef *hhrtim, uint32_t Timers) |
| 触发一个或多个定时器的寄存器更新。 | |
| HAL_StatusTypeDef | |