| 
    PHiLIP
    
   | 
 
Controls the pwm and dac peripheral. More...
#include <string.h>#include <errno.h>#include "stm32f1xx_hal.h"#include "PHiLIP_typedef.h"#include "port.h"#include "app_common.h"#include "gpio.h"#include "pwm_dac.h"Data Structures | |
| struct | pwm_dev | 
| The parameters for pwm control.  More... | |
| struct | dac_dev | 
| The parameters for dac control.  More... | |
Functions | |
| void | init_dut_pwm_dac (map_t *reg) | 
| Initializes pwm and dac registers.  More... | |
| 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.  | |
| 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.  | |
Controls the pwm and dac peripheral.