Home
last modified time | relevance | path

Searched refs:Uart1 (Results 1 – 18 of 18) sorted by relevance

/loramac-node-latest/src/boards/SAMR34/
Dboard.c50 Uart_t Uart1; variable
84 UartInit( &Uart1, UART_1, UART_TX, UART_RX ); in BoardInitMcu()
85 UartConfig( &Uart1, RX_TX, 921600, UART_8_BIT, UART_1_STOP_BIT, NO_PARITY, NO_FLOW_CTRL ); in BoardInitMcu()
149 while( UartPutBuffer( &Uart1, ( uint8_t* )buf, ( uint16_t )count ) != 0 ){ }; in _write()
159 while( UartGetBuffer( &Uart1, ( uint8_t* )buf, count, ( uint16_t* )&bytesRead ) != 0 ){ }; in _read()
161 while( UartPutBuffer( &Uart1, ( uint8_t* )buf, ( uint16_t )bytesRead ) != 0 ){ }; in _read()
172 while( UartPutChar( &Uart1, ( uint8_t )c ) != 0 ); in fputc()
179 while( UartGetChar( &Uart1, &c ) != 0 ); in fgetc()
181 while( UartPutChar( &Uart1, c ) != 0 ); in fgetc()
/loramac-node-latest/src/boards/NAMote72/
Dgps-board.c56 extern Uart_t Uart1;
69 UartInit( &Uart1, UART_1, GPS_UART_TX, GPS_UART_RX ); in GpsMcuOnPpsSignal()
70 UartConfig( &Uart1, RX_ONLY, 9600, UART_8_BIT, UART_1_STOP_BIT, NO_PARITY, NO_FLOW_CTRL ); in GpsMcuOnPpsSignal()
99 FifoInit( &Uart1.FifoRx, RxBuffer, FIFO_RX_SIZE ); in GpsMcuInit()
100 Uart1.IrqNotify = GpsMcuIrqNotify; in GpsMcuInit()
139 if( UartGetChar( &Uart1, &data ) == 0 ) in GpsMcuIrqNotify()
152 UartDeInit( &Uart1 ); in GpsMcuIrqNotify()
Duart-board.c44 extern Uart_t Uart1;
345 Uart_t *uart = &Uart1; in HAL_UART_TxCpltCallback()
350 uart = &Uart1; in HAL_UART_TxCpltCallback()
378 Uart_t *uart = &Uart1; in HAL_UART_RxCpltCallback()
383 uart = &Uart1; in HAL_UART_RxCpltCallback()
Dboard.c69 Uart_t Uart1; variable
/loramac-node-latest/src/boards/SKiM881AXL/
Dboard.c62 Uart_t Uart1; variable
125 FifoInit( &Uart1.FifoTx, Uart1TxBuffer, UART1_FIFO_TX_SIZE ); in BoardInitMcu()
126 FifoInit( &Uart1.FifoRx, Uart1RxBuffer, UART1_FIFO_RX_SIZE ); in BoardInitMcu()
128 UartInit( &Uart1, UART_1, UART_TX, UART_RX ); in BoardInitMcu()
129 UartConfig( &Uart1, RX_TX, 921600, UART_8_BIT, UART_1_STOP_BIT, NO_PARITY, NO_FLOW_CTRL ); in BoardInitMcu()
482 while( UartPutBuffer( &Uart1, ( uint8_t* )buf, ( uint16_t )count ) != 0 ){ }; in _write()
492 while( UartGetBuffer( &Uart1, ( uint8_t* )buf, count, ( uint16_t* )&bytesRead ) != 0 ){ }; in _read()
494 while( UartPutBuffer( &Uart1, ( uint8_t* )buf, ( uint16_t )bytesRead ) != 0 ){ }; in _read()
505 while( UartPutChar( &Uart1, ( uint8_t )c ) != 0 ); in fputc()
512 while( UartGetChar( &Uart1, &c ) != 0 ); in fgetc()
[all …]
Duart-board.c39 extern Uart_t Uart1;
306 if( IsFifoEmpty( &Uart1.FifoTx ) == false ) in HAL_UART_TxCpltCallback()
308 TxData = FifoPop( &Uart1.FifoTx ); in HAL_UART_TxCpltCallback()
313 if( Uart1.IrqNotify != NULL ) in HAL_UART_TxCpltCallback()
315 Uart1.IrqNotify( UART_NOTIFY_TX ); in HAL_UART_TxCpltCallback()
321 if( IsFifoFull( &Uart1.FifoRx ) == false ) in HAL_UART_RxCpltCallback()
324 FifoPush( &Uart1.FifoRx, RxData ); in HAL_UART_RxCpltCallback()
327 if( Uart1.IrqNotify != NULL ) in HAL_UART_RxCpltCallback()
329 Uart1.IrqNotify( UART_NOTIFY_RX ); in HAL_UART_RxCpltCallback()
/loramac-node-latest/src/boards/SKiM980A/
Duart-board.c39 extern Uart_t Uart1;
303 if( IsFifoEmpty( &Uart1.FifoTx ) == false ) in HAL_UART_TxCpltCallback()
305 TxData = FifoPop( &Uart1.FifoTx ); in HAL_UART_TxCpltCallback()
310 if( Uart1.IrqNotify != NULL ) in HAL_UART_TxCpltCallback()
312 Uart1.IrqNotify( UART_NOTIFY_TX ); in HAL_UART_TxCpltCallback()
318 if( IsFifoFull( &Uart1.FifoRx ) == false ) in HAL_UART_RxCpltCallback()
321 FifoPush( &Uart1.FifoRx, RxData ); in HAL_UART_RxCpltCallback()
324 if( Uart1.IrqNotify != NULL ) in HAL_UART_RxCpltCallback()
326 Uart1.IrqNotify( UART_NOTIFY_RX ); in HAL_UART_RxCpltCallback()
Dboard.c62 Uart_t Uart1; variable
125 FifoInit( &Uart1.FifoTx, Uart1TxBuffer, UART1_FIFO_TX_SIZE ); in BoardInitMcu()
126 FifoInit( &Uart1.FifoRx, Uart1RxBuffer, UART1_FIFO_RX_SIZE ); in BoardInitMcu()
128 UartInit( &Uart1, UART_1, UART_TX, UART_RX ); in BoardInitMcu()
129 UartConfig( &Uart1, RX_TX, 921600, UART_8_BIT, UART_1_STOP_BIT, NO_PARITY, NO_FLOW_CTRL ); in BoardInitMcu()
509 while( UartPutBuffer( &Uart1, ( uint8_t* )buf, ( uint16_t )count ) != 0 ){ }; in _write()
519 while( UartGetBuffer( &Uart1, ( uint8_t* )buf, count, ( uint16_t* )&bytesRead ) != 0 ){ }; in _read()
521 while( UartPutBuffer( &Uart1, ( uint8_t* )buf, ( uint16_t )bytesRead ) != 0 ){ }; in _read()
532 while( UartPutChar( &Uart1, ( uint8_t )c ) != 0 ); in fputc()
539 while( UartGetChar( &Uart1, &c ) != 0 ); in fgetc()
[all …]
/loramac-node-latest/src/boards/SKiM880B/
Duart-board.c39 extern Uart_t Uart1;
303 if( IsFifoEmpty( &Uart1.FifoTx ) == false ) in HAL_UART_TxCpltCallback()
305 TxData = FifoPop( &Uart1.FifoTx ); in HAL_UART_TxCpltCallback()
310 if( Uart1.IrqNotify != NULL ) in HAL_UART_TxCpltCallback()
312 Uart1.IrqNotify( UART_NOTIFY_TX ); in HAL_UART_TxCpltCallback()
318 if( IsFifoFull( &Uart1.FifoRx ) == false ) in HAL_UART_RxCpltCallback()
321 FifoPush( &Uart1.FifoRx, RxData ); in HAL_UART_RxCpltCallback()
324 if( Uart1.IrqNotify != NULL ) in HAL_UART_RxCpltCallback()
326 Uart1.IrqNotify( UART_NOTIFY_RX ); in HAL_UART_RxCpltCallback()
Dboard.c62 Uart_t Uart1; variable
125 FifoInit( &Uart1.FifoTx, Uart1TxBuffer, UART1_FIFO_TX_SIZE ); in BoardInitMcu()
126 FifoInit( &Uart1.FifoRx, Uart1RxBuffer, UART1_FIFO_RX_SIZE ); in BoardInitMcu()
128 UartInit( &Uart1, UART_1, UART_TX, UART_RX ); in BoardInitMcu()
129 UartConfig( &Uart1, RX_TX, 921600, UART_8_BIT, UART_1_STOP_BIT, NO_PARITY, NO_FLOW_CTRL ); in BoardInitMcu()
509 while( UartPutBuffer( &Uart1, ( uint8_t* )buf, ( uint16_t )count ) != 0 ){ }; in _write()
519 while( UartGetBuffer( &Uart1, ( uint8_t* )buf, count, ( uint16_t* )&bytesRead ) != 0 ){ }; in _read()
521 while( UartPutBuffer( &Uart1, ( uint8_t* )buf, ( uint16_t )bytesRead ) != 0 ){ }; in _read()
532 while( UartPutChar( &Uart1, ( uint8_t )c ) != 0 ); in fputc()
539 while( UartGetChar( &Uart1, &c ) != 0 ); in fgetc()
[all …]
/loramac-node-latest/src/apps/LoRaMac/periodic-uplink-lpp/SAMR34/
Dmain.c253 extern Uart_t Uart1;
307 CliProcess( &Uart1 ); in main()
/loramac-node-latest/src/apps/LoRaMac/periodic-uplink-lpp/SKiM880B/
Dmain.c255 extern Uart_t Uart1;
306 CliProcess( &Uart1 ); in main()
/loramac-node-latest/src/apps/LoRaMac/periodic-uplink-lpp/SKiM881AXL/
Dmain.c255 extern Uart_t Uart1;
306 CliProcess( &Uart1 ); in main()
/loramac-node-latest/src/apps/LoRaMac/periodic-uplink-lpp/SKiM980A/
Dmain.c255 extern Uart_t Uart1;
306 CliProcess( &Uart1 ); in main()
/loramac-node-latest/src/apps/LoRaMac/fuota-test-01/SAMR34/
Dmain.c276 extern Uart_t Uart1;
330 CliProcess( &Uart1 ); in main()
/loramac-node-latest/src/apps/LoRaMac/fuota-test-01/SKiM880B/
Dmain.c288 extern Uart_t Uart1;
343 CliProcess( &Uart1 ); in main()
/loramac-node-latest/src/apps/LoRaMac/fuota-test-01/SKiM881AXL/
Dmain.c288 extern Uart_t Uart1;
343 CliProcess( &Uart1 ); in main()
/loramac-node-latest/src/apps/LoRaMac/fuota-test-01/SKiM980A/
Dmain.c288 extern Uart_t Uart1;
343 CliProcess( &Uart1 ); in main()