PHiLIP
pwm_dac.h File Reference

Controls the pwm and dac peripheral. More...

Go to the source code of this file.

Functions

void init_dut_pwm_dac (map_t *reg)
 Initializes pwm and dac registers. More...
 
error_t commit_dut_pwm ()
 Commits the dut pwm registers and executes operations. More...
 
error_t commit_dut_dac ()
 Commits the dut dac registers and executes operations. More...
 
void update_dut_pwm_inputs ()
 Updates the pwm input levels.
 
void update_dut_dac_inputs ()
 Updates the dac input levels.
 
void init_dut_pwm_dac_msp ()
 Only for use with the STM32xxxx_HAL_Driver.
 
void postinit_dut_pwm_dac_msp ()
 Only for use with the STM32xxxx_HAL_Driver.
 
void deinit_dut_pwm_dac_msp ()
 Only for use with the STM32xxxx_HAL_Driver.
 

Detailed Description

Controls the pwm and dac peripheral.

Author
Kevin Weiss
Date
15.03.2019
Note
The PWM and DAC share the same timer so changing the period affects both.