Searched refs:Usart0 (Results 1 – 1 of 1) sorted by relevance
/loramac-node-latest/src/boards/SAMR34/ |
D | uart-board.c | 32 struct usart_sync_descriptor Usart0; variable 44 usart_sync_init( &Usart0, SERCOM0, ( void * )NULL ); in UartMcuInit() 50 usart_sync_enable( &Usart0 ); in UartMcuInit() 55 usart_sync_set_baud_rate( &Usart0, baudrate ); in UartMcuConfig() 65 if( io_write( &Usart0.io, &data, 1 ) == 0 ) in UartMcuPutChar() 74 if( io_read( &Usart0.io, data, 1 ) == 1 ) in UartMcuGetChar() 86 if( io_write( &Usart0.io, buffer, size ) == 0 ) in UartMcuPutBuffer() 95 *nbReadBytes = io_read( &Usart0.io, buffer, size ); in UartMcuGetBuffer()
|