Lines Matching defs:port
72 * \brief Initialize a serial port. The MMU is turned on.
74 void lpuart_init(unsigned port, lvaddr_t base, bool hwinit)
77 assert(port < serial_num_physical_ports);
79 lpuart_t *u = &uarts[port];
117 * \brief Put a character to the port
119 void serial_putchar(unsigned port, char c)
121 assert(port < LPUART_MAX_PORTS);
122 lpuart_t *u = &uarts[port];
130 * \brief Read a character from a port
132 char serial_getchar(unsigned port)
134 assert(port < LPUART_MAX_PORTS);
135 lpuart_t *u = &uarts[port];