pub fn rs485<TX, RX, DE>(
    usart: LPUART1,
    pins: (TX, RX, DE),
    baud_rate: Bps,
    clk_src: USARTClkSource,
    clk_ctx: &ClockContext,
    apb: &mut APB1,
    ccipr: &mut CCIPR
) -> Serial<LPUART1, (TX, RX, DE)>where
    TX: TxPin<LPUART1>,
    RX: RxPin<LPUART1>,
    DE: RtsDePin<LPUART1>,
Expand description

Initialize the USART peripheral for RS485