mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-10 08:17:52 -06:00
stm32: Make sure to enable the gpio clock prior to setting the first value
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
a67451fa36
commit
c930fc392b
4 changed files with 22 additions and 4 deletions
|
@ -25,6 +25,7 @@ void enable_pclock(uint32_t periph_base);
|
|||
int is_enabled_pclock(uint32_t periph_base);
|
||||
uint32_t get_pclock_frequency(uint32_t periph_base);
|
||||
void clock_setup(void);
|
||||
void gpio_clock_enable(GPIO_TypeDef *regs);
|
||||
void gpio_peripheral(uint32_t gpio, uint32_t mode, int pullup);
|
||||
|
||||
#endif // internal.h
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue