Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement variable PWM frequency #756

Merged
merged 1 commit into from
Jan 14, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions hal/inc/hal_dynalib_gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ DYNALIB_FN(hal_gpio, HAL_System_Interrupt_Trigger)
DYNALIB_FN(hal_gpio, HAL_Pulse_In)
DYNALIB_FN(hal_gpio, HAL_Interrupts_Suspend)
DYNALIB_FN(hal_gpio, HAL_Interrupts_Restore)

DYNALIB_FN(hal_gpio, HAL_PWM_Write_With_Frequency)
DYNALIB_END(hal_gpio)

#endif /* HAL_DYNALIB_GPIO_H */
Expand Down
1 change: 1 addition & 0 deletions hal/inc/pwm_hal.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ extern "C" {
#endif

void HAL_PWM_Write(uint16_t pin, uint8_t value);
void HAL_PWM_Write_With_Frequency(uint16_t pin, uint8_t value, uint16_t pwm_frequency);
uint16_t HAL_PWM_Get_Frequency(uint16_t pin);
uint16_t HAL_PWM_Get_AnalogValue(uint16_t pin);
void HAL_PWM_UpdateDutyCycle(uint16_t pin, uint16_t value);
Expand Down
368 changes: 0 additions & 368 deletions hal/src/core/pwm_hal.c

This file was deleted.

1 change: 1 addition & 0 deletions hal/src/core/sources.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ INCLUDE_DIRS += $(HAL_SRC_STM32_PATH)

# C source files included in this build.
CSRC += $(call target_files,$(HAL_SRC_COREV1_PATH)/,*.c)
CSRC += $(call target_files,$(HAL_SRC_STM32_PATH)/,*.c)


# C++ source files included in this build.
Expand Down
Loading