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

at32: add mux 3 for tmr9 on port c #13222

Merged
merged 1 commit into from
Dec 17, 2023
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/main/drivers/at32/timer_at32f43x.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ const timerHardware_t fullTimerHardware[FULL_TIMER_CHANNEL_COUNT] = {
DEF_TIM(TMR5, CH3, PC11, 0, 0, 0),

// PORTC MUX 3
DEF_TIM(TMR9, CH1, PC4, 0, 0, 0),
DEF_TIM(TMR9, CH2, PC5, 0, 0, 0),
DEF_TIM(TMR8, CH1, PC6, 0, 0, 0),
DEF_TIM(TMR8, CH2, PC7, 0, 0, 0),
DEF_TIM(TMR8, CH3, PC8, 0, 0, 0),
Expand Down
2 changes: 1 addition & 1 deletion src/main/drivers/at32/timer_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

#define USED_TIMERS ( BIT(1) | BIT(2) | BIT(3) | BIT(4) | BIT(5) | BIT(8) | BIT(9) | BIT(10) | BIT(11) | BIT(12) | BIT(13) | BIT(14) | BIT(20) )
#define TIMUP_TIMERS ( BIT(1) | BIT(2) | BIT(3) | BIT(4) | BIT(5) | BIT(8) | BIT(20) )
#define FULL_TIMER_CHANNEL_COUNT 101
#define FULL_TIMER_CHANNEL_COUNT 103
#define HARDWARE_TIMER_DEFINITION_COUNT 15

// allow conditional definition of DMA related members
Expand Down