Home
last modified time | relevance | path

Searched refs:Uart2 (Results 1 – 20 of 20) sorted by relevance

/loramac-node-latest/src/boards/B-L072Z-LRWAN1/
Dboard.c56 Uart_t Uart2; variable
124 FifoInit( &Uart2.FifoTx, Uart2TxBuffer, UART2_FIFO_TX_SIZE ); in BoardInitMcu()
125 FifoInit( &Uart2.FifoRx, Uart2RxBuffer, UART2_FIFO_RX_SIZE ); in BoardInitMcu()
127 UartInit( &Uart2, UART_2, UART_TX, UART_RX ); in BoardInitMcu()
128 UartConfig( &Uart2, RX_TX, 921600, UART_8_BIT, UART_1_STOP_BIT, NO_PARITY, NO_FLOW_CTRL ); in BoardInitMcu()
383 while( UartPutBuffer( &Uart2, ( uint8_t* )buf, ( uint16_t )count ) != 0 ){ }; in _write()
393 while( UartGetBuffer( &Uart2, ( uint8_t* )buf, count, ( uint16_t* )&bytesRead ) != 0 ){ }; in _read()
395 while( UartPutBuffer( &Uart2, ( uint8_t* )buf, ( uint16_t )bytesRead ) != 0 ){ }; in _read()
406 while( UartPutChar( &Uart2, ( uint8_t )c ) != 0 ); in fputc()
413 while( UartGetChar( &Uart2, &c ) != 0 ); in fgetc()
[all …]
Duart-board.c39 extern Uart_t Uart2;
306 if( IsFifoEmpty( &Uart2.FifoTx ) == false ) in HAL_UART_TxCpltCallback()
308 TxData = FifoPop( &Uart2.FifoTx ); in HAL_UART_TxCpltCallback()
313 if( Uart2.IrqNotify != NULL ) in HAL_UART_TxCpltCallback()
315 Uart2.IrqNotify( UART_NOTIFY_TX ); in HAL_UART_TxCpltCallback()
321 if( IsFifoFull( &Uart2.FifoRx ) == false ) in HAL_UART_RxCpltCallback()
324 FifoPush( &Uart2.FifoRx, RxData ); in HAL_UART_RxCpltCallback()
327 if( Uart2.IrqNotify != NULL ) in HAL_UART_RxCpltCallback()
329 Uart2.IrqNotify( UART_NOTIFY_RX ); in HAL_UART_RxCpltCallback()
/loramac-node-latest/src/boards/NucleoL476/
Duart-board.c39 extern Uart_t Uart2;
303 if( IsFifoEmpty( &Uart2.FifoTx ) == false ) in HAL_UART_TxCpltCallback()
305 TxData = FifoPop( &Uart2.FifoTx ); in HAL_UART_TxCpltCallback()
310 if( Uart2.IrqNotify != NULL ) in HAL_UART_TxCpltCallback()
312 Uart2.IrqNotify( UART_NOTIFY_TX ); in HAL_UART_TxCpltCallback()
318 if( IsFifoFull( &Uart2.FifoRx ) == false ) in HAL_UART_RxCpltCallback()
321 FifoPush( &Uart2.FifoRx, RxData ); in HAL_UART_RxCpltCallback()
324 if( Uart2.IrqNotify != NULL ) in HAL_UART_RxCpltCallback()
326 Uart2.IrqNotify( UART_NOTIFY_RX ); in HAL_UART_RxCpltCallback()
Dboard.c64 Uart_t Uart2; variable
141 FifoInit( &Uart2.FifoTx, Uart2TxBuffer, UART2_FIFO_TX_SIZE ); in BoardInitMcu()
142 FifoInit( &Uart2.FifoRx, Uart2RxBuffer, UART2_FIFO_RX_SIZE ); in BoardInitMcu()
144 UartInit( &Uart2, UART_2, UART_TX, UART_RX ); in BoardInitMcu()
145 UartConfig( &Uart2, RX_TX, 921600, UART_8_BIT, UART_1_STOP_BIT, NO_PARITY, NO_FLOW_CTRL ); in BoardInitMcu()
616 while( UartPutBuffer( &Uart2, ( uint8_t* )buf, ( uint16_t )count ) != 0 ){ }; in _write()
626 while( UartGetBuffer( &Uart2, ( uint8_t* )buf, count, ( uint16_t* )&bytesRead ) != 0 ){ }; in _read()
628 while( UartPutBuffer( &Uart2, ( uint8_t* )buf, ( uint16_t )bytesRead ) != 0 ){ }; in _read()
639 while( UartPutChar( &Uart2, ( uint8_t )c ) != 0 ); in fputc()
646 while( UartGetChar( &Uart2, &c ) != 0 ); in fgetc()
[all …]
/loramac-node-latest/src/boards/NucleoL073/
Duart-board.c39 extern Uart_t Uart2;
306 if( IsFifoEmpty( &Uart2.FifoTx ) == false ) in HAL_UART_TxCpltCallback()
308 TxData = FifoPop( &Uart2.FifoTx ); in HAL_UART_TxCpltCallback()
313 if( Uart2.IrqNotify != NULL ) in HAL_UART_TxCpltCallback()
315 Uart2.IrqNotify( UART_NOTIFY_TX ); in HAL_UART_TxCpltCallback()
321 if( IsFifoFull( &Uart2.FifoRx ) == false ) in HAL_UART_RxCpltCallback()
324 FifoPush( &Uart2.FifoRx, RxData ); in HAL_UART_RxCpltCallback()
327 if( Uart2.IrqNotify != NULL ) in HAL_UART_RxCpltCallback()
329 Uart2.IrqNotify( UART_NOTIFY_RX ); in HAL_UART_RxCpltCallback()
Dboard.c64 Uart_t Uart2; variable
134 FifoInit( &Uart2.FifoTx, Uart2TxBuffer, UART2_FIFO_TX_SIZE ); in BoardInitMcu()
135 FifoInit( &Uart2.FifoRx, Uart2RxBuffer, UART2_FIFO_RX_SIZE ); in BoardInitMcu()
137 UartInit( &Uart2, UART_2, UART_TX, UART_RX ); in BoardInitMcu()
138 UartConfig( &Uart2, RX_TX, 921600, UART_8_BIT, UART_1_STOP_BIT, NO_PARITY, NO_FLOW_CTRL ); in BoardInitMcu()
516 while( UartPutBuffer( &Uart2, ( uint8_t* )buf, ( uint16_t )count ) != 0 ){ }; in _write()
526 while( UartGetBuffer( &Uart2, ( uint8_t* )buf, count, ( uint16_t* )&bytesRead ) != 0 ){ }; in _read()
528 while( UartPutBuffer( &Uart2, ( uint8_t* )buf, ( uint16_t )bytesRead ) != 0 ){ }; in _read()
539 while( UartPutChar( &Uart2, ( uint8_t )c ) != 0 ); in fputc()
546 while( UartGetChar( &Uart2, &c ) != 0 ); in fgetc()
[all …]
/loramac-node-latest/src/boards/NAMote72/
Dboard.c70 Uart_t Uart2; variable
171 FifoInit( &Uart2.FifoTx, Uart2TxBuffer, UART2_FIFO_TX_SIZE ); in BoardInitMcu()
172 FifoInit( &Uart2.FifoRx, Uart2RxBuffer, UART2_FIFO_RX_SIZE ); in BoardInitMcu()
174 UartInit( &Uart2, UART_2, UART_TX, UART_RX ); in BoardInitMcu()
175 … UartConfig( &Uart2, RX_TX, 921600, UART_8_BIT, UART_1_STOP_BIT, NO_PARITY, NO_FLOW_CTRL ); in BoardInitMcu()
180 UartDeInit( &Uart2 ); in BoardInitMcu()
603 while( UartPutBuffer( &Uart2, ( uint8_t* )buf, ( uint16_t )count ) != 0 ){ }; in _write()
613 while( UartGetBuffer( &Uart2, ( uint8_t* )buf, count, ( uint16_t* )&bytesRead ) != 0 ){ }; in _read()
615 while( UartPutBuffer( &Uart2, ( uint8_t* )buf, ( uint16_t )bytesRead ) != 0 ){ }; in _read()
626 while( UartPutChar( &Uart2, ( uint8_t )c ) != 0 ); in fputc()
[all …]
Duart-board.c45 extern Uart_t Uart2;
355 uart = &Uart2; in HAL_UART_TxCpltCallback()
388 uart = &Uart2; in HAL_UART_RxCpltCallback()
/loramac-node-latest/src/boards/NucleoL152/
Dboard.c64 Uart_t Uart2; variable
134 FifoInit( &Uart2.FifoTx, Uart2TxBuffer, UART2_FIFO_TX_SIZE ); in BoardInitMcu()
135 FifoInit( &Uart2.FifoRx, Uart2RxBuffer, UART2_FIFO_RX_SIZE ); in BoardInitMcu()
137 UartInit( &Uart2, UART_2, UART_TX, UART_RX ); in BoardInitMcu()
138 UartConfig( &Uart2, RX_TX, 921600, UART_8_BIT, UART_1_STOP_BIT, NO_PARITY, NO_FLOW_CTRL ); in BoardInitMcu()
516 while( UartPutBuffer( &Uart2, ( uint8_t* )buf, ( uint16_t )count ) != 0 ){ }; in _write()
526 while( UartGetBuffer( &Uart2, ( uint8_t* )buf, count, ( uint16_t* )&bytesRead ) != 0 ){ }; in _read()
528 while( UartPutBuffer( &Uart2, ( uint8_t* )buf, ( uint16_t )bytesRead ) != 0 ){ }; in _read()
539 while( UartPutChar( &Uart2, ( uint8_t )c ) != 0 ); in fputc()
546 while( UartGetChar( &Uart2, &c ) != 0 ); in fgetc()
[all …]
Duart-board.c39 extern Uart_t Uart2;
303 if( IsFifoEmpty( &Uart2.FifoTx ) == false ) in HAL_UART_TxCpltCallback()
305 TxData = FifoPop( &Uart2.FifoTx ); in HAL_UART_TxCpltCallback()
310 if( Uart2.IrqNotify != NULL ) in HAL_UART_TxCpltCallback()
312 Uart2.IrqNotify( UART_NOTIFY_TX ); in HAL_UART_TxCpltCallback()
318 if( IsFifoFull( &Uart2.FifoRx ) == false ) in HAL_UART_RxCpltCallback()
321 FifoPush( &Uart2.FifoRx, RxData ); in HAL_UART_RxCpltCallback()
324 if( Uart2.IrqNotify != NULL ) in HAL_UART_RxCpltCallback()
326 Uart2.IrqNotify( UART_NOTIFY_RX ); in HAL_UART_RxCpltCallback()
/loramac-node-latest/src/apps/LoRaMac/periodic-uplink-lpp/NucleoL073/
Dmain.c254 extern Uart_t Uart2;
305 CliProcess( &Uart2 ); in main()
/loramac-node-latest/src/apps/LoRaMac/periodic-uplink-lpp/NucleoL152/
Dmain.c254 extern Uart_t Uart2;
305 CliProcess( &Uart2 ); in main()
/loramac-node-latest/src/apps/LoRaMac/periodic-uplink-lpp/NucleoL476/
Dmain.c254 extern Uart_t Uart2;
305 CliProcess( &Uart2 ); in main()
/loramac-node-latest/src/apps/LoRaMac/periodic-uplink-lpp/NAMote72/
Dmain.c258 extern Uart_t Uart2;
309 CliProcess( &Uart2 ); in main()
/loramac-node-latest/src/apps/LoRaMac/periodic-uplink-lpp/B-L072Z-LRWAN1/
Dmain.c266 extern Uart_t Uart2;
320 CliProcess( &Uart2 ); in main()
/loramac-node-latest/src/apps/LoRaMac/fuota-test-01/NucleoL073/
Dmain.c297 extern Uart_t Uart2;
354 CliProcess( &Uart2 ); in main()
/loramac-node-latest/src/apps/LoRaMac/fuota-test-01/NucleoL152/
Dmain.c297 extern Uart_t Uart2;
354 CliProcess( &Uart2 ); in main()
/loramac-node-latest/src/apps/LoRaMac/fuota-test-01/NucleoL476/
Dmain.c297 extern Uart_t Uart2;
354 CliProcess( &Uart2 ); in main()
/loramac-node-latest/src/apps/LoRaMac/fuota-test-01/NAMote72/
Dmain.c301 extern Uart_t Uart2;
358 CliProcess( &Uart2 ); in main()
/loramac-node-latest/src/apps/LoRaMac/fuota-test-01/B-L072Z-LRWAN1/
Dmain.c309 extern Uart_t Uart2;
369 CliProcess( &Uart2 ); in main()