updates for APIs

This commit is contained in:
2025-04-24 12:41:37 +02:00
parent 75a339222b
commit 1071acf328
26 changed files with 64 additions and 370 deletions

View File

@ -113,9 +113,10 @@ mod app {
let rx = gpioa.pa8;
let irq_uart = uart::Uart::new_with_interrupt(
SYSCLK_FREQ,
dp.uarta,
(tx, rx),
tx,
rx,
SYSCLK_FREQ,
UART_BAUDRATE.Hz().into(),
InterruptConfig::new(pac::Interrupt::OC0, true, true),
)