Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Luiz Fernando Lavado Villa
Core
Commits
7754eb6e
Commit
7754eb6e
authored
Feb 01, 2022
by
Luiz Fernando Lavado Villa
💬
Browse files
Added support for two function in the hrtim_voltage_mode.h
parent
2cea2b7d
Changes
1
Show whitespace changes
Inline
Side-by-side
zephyr/modules/owntech_hrtim_driver/zephyr/src/voltage_mode/hrtim_voltage_mode.h
View file @
7754eb6e
...
...
@@ -419,6 +419,26 @@ void hrtim_rst_cb_unset(hrtim_t dev, hrtim_tu_t tu, hrtim_out_t out,
*/
void
hrtim_cmpl_pwm_out
(
hrtim_t
dev
,
hrtim_tu_t
tu
,
bool
switch_convention
);
/**
* @brief Sets up the switching convention of leg 1
*
* @param[in] hrtim HRTIM device
* @param[in] tu Timing unit
* @param[in] leg1_upper_switch_convention Choice of the switch convention - 1 for buck mode and 0 for boost mode
*/
void
hrtim_cmpl_pwm_out1
(
hrtim_t
hrtim
,
hrtim_tu_t
tu
,
bool
leg1_upper_switch_convention
);
/**
* @brief Sets up the switching convention of leg 2
*
* @param[in] hrtim HRTIM device
* @param[in] tu Timing unit
* @param[in] leg1_upper_switch_convention Choice of the switch convention - 1 for buck mode and 0 for boost mode
*/
void
hrtim_cmpl_pwm_out2
(
hrtim_t
hrtim
,
hrtim_tu_t
tu
,
bool
leg2_upper_switch_convention
);
/**
* @brief Set a period value
*
...
...
@@ -519,6 +539,8 @@ void hrtim_adc_trigger_en(hrtim_t dev, hrtim_adc_t adc, hrtim_adc_trigger_t evt)
*/
void
hrtim_adc_trigger_dis
(
hrtim_t
dev
,
hrtim_adc_t
adc
,
hrtim_adc_trigger_t
evt
);
int
hrtim_get_apb2_clock
();
#ifdef __cplusplus
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment