Skip to content

Commit

Permalink
f421: fixed UTILITY_TIMER to be 1MHz
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed Oct 23, 2024
1 parent bcc5dc7 commit 9f39846
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mcu/f421/Src/peripherals.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ void TIM17_Init(void)
{
crm_periph_clock_enable(CRM_TMR17_PERIPH_CLOCK, TRUE);
TMR17->pr = 0xFFFF;
TMR17->div = 59;
TMR17->div = 119;
TMR17->ctrl1_bit.prben = TRUE;

// TMR_Cmd(TMR15, ENABLE);
Expand Down

0 comments on commit 9f39846

Please sign in to comment.