mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-16 10:43:29 +00:00
stm32l5: add pwm
This commit is contained in:
@@ -12,6 +12,12 @@ func CPUFrequency() uint32 {
|
||||
return 110000000
|
||||
}
|
||||
|
||||
// Internal use: configured speed of the APB1 and APB2 timers, this should be kept
|
||||
// in sync with any changes to runtime package which configures the oscillators
|
||||
// and clock frequencies
|
||||
const APB1_TIM_FREQ = 110e6 // 110MHz
|
||||
const APB2_TIM_FREQ = 110e6 // 110MHz
|
||||
|
||||
//---------- UART related code
|
||||
|
||||
// Configure the UART.
|
||||
|
||||
Reference in New Issue
Block a user