PHiLIP
pwm_dac.h
Go to the documentation of this file.
1 /*
2  * Copyright 2020 Kevin Weiss for HAW Hamburg
3  *
4  * This file is subject to the terms and conditions of the MIT License. See the
5  * file LICENSE in the top level directory for more details.
6  * SPDX-License-Identifier: MIT
7  */
8 
22 #ifndef PWM_DAC_H_
23 #define PWM_DAC_H_
24 
25 /* Function prototypes ********************************************************/
33 void init_dut_pwm_dac(map_t *reg);
34 
45 error_t commit_dut_pwm();
46 
56 error_t commit_dut_dac();
57 
62 
67 
72 
77 
82 #endif /* PWM_DAC_H_ */
83 
error_t commit_dut_dac()
Commits the dut dac registers and executes operations.
Definition: pwm_dac.c:161
void init_dut_pwm_dac(map_t *reg)
Initializes pwm and dac registers.
Definition: pwm_dac.c:60
void init_dut_pwm_dac_msp()
Only for use with the STM32xxxx_HAL_Driver.
Definition: pwm_dac.c:88
void deinit_dut_pwm_dac_msp()
Only for use with the STM32xxxx_HAL_Driver.
Definition: pwm_dac.c:106
The memory map.
Definition: PHiLIP_typedef.h:340
void update_dut_dac_inputs()
Updates the dac input levels.
Definition: pwm_dac.c:201
error_t commit_dut_pwm()
Commits the dut pwm registers and executes operations.
Definition: pwm_dac.c:114
void update_dut_pwm_inputs()
Updates the pwm input levels.
Definition: pwm_dac.c:197
void postinit_dut_pwm_dac_msp()
Only for use with the STM32xxxx_HAL_Driver.
Definition: pwm_dac.c:92