in typehints/pyboard/pyb.pyi [0:0]
def init(
self,
mode: int = CONTROLLER,
baudrate: int = 328125,
*,
polarity: int = 1,
phase: int = 0,
bits: int = 8,
firstbit: int = MSB,
ti: bool = False,
crc: int | None = None,