mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[ion] n0100 Console: fix pin alternate function
This commit is contained in:
committed by
LeaNumworks
parent
c71b2dee99
commit
2d71e98b52
@@ -13,7 +13,7 @@ using namespace Regs;
|
||||
constexpr static USART Port = USART(3);
|
||||
constexpr static GPIOPin RxPin = GPIOPin(GPIOC, 11);
|
||||
constexpr static GPIOPin TxPin = GPIOPin(GPIOD, 8);
|
||||
constexpr static GPIO::AFR::AlternateFunction AlternateFunction = GPIO::AFR::AlternateFunction::AF8;
|
||||
constexpr static GPIO::AFR::AlternateFunction AlternateFunction = GPIO::AFR::AlternateFunction::AF7;
|
||||
|
||||
/* The baud rate of the UART is set by the following equation:
|
||||
* BaudRate = f/USARTDIV, where f is the clock frequency and USARTDIV a divider.
|
||||
|
||||
Reference in New Issue
Block a user