pic32/cores/pic32/HardwareSerial.cpp
// Hardware serial has a buffer of length 1
Hardware serial has a buffer of length 1
Hardware serial has a buffer of length 1
int HardwareSerial::availableForWrite() {
    if (uart->uxSta.reg & (1 << _UARTSTA_UTXBF)) {
        return 0;
    }
    else {
        return 1;
    }
}
int HardwareSerial :: availableForWrite ( ) { if ( uart -> uxSta . reg & ( 1 << _UARTSTA_UTXBF ) ) { return 0 ; } else { return 1 ; } }
Hardware serial has a buffer of length 1
Hardware serial has a buffer of length 1