65 virtual uint32_t
receive ()
const = 0;
85 virtual ErrorCode get_line (
char *buffer, int32_t *length,
const uint32_t delimiter =
'\n')
const = 0;
Interface for all classes capable of printing.
Generic definitions and functions for the Parallax Propeller.
virtual Port::Mask get_rx_mask() const =0
Retrieve the currently configured receive (RX) pin mask.
Interface for all UART devices.
Interface for all duplex UART devices.
virtual void set_rx_mask(const Port::Mask rx)=0
Set the pin mask for RX pin.
virtual ErrorCode get_line(char *buffer, int32_t *length, const uint32_t delimiter= '\n') const =0
Receive an array of data words.
virtual uint32_t receive() const =0
Receive one word of data; Will block until word is received.
char get_char()
Read and return a single character. Whether the method is blocking or not depends entirely on the imp...
virtual ErrorCode receive_array(uint8_t *buffer, uint32_t length) const =0
Receive an array of data words.