Design a process to read incoming data from the receiver (Rx) pin and reconstruct it into the Packet struct.
The UART start and stop bits do not need to be included in reconstruction. The parity bit should be processed upon reception and should not be stored. All remaining data (headers?, Packet body) should be encoded into the Byte struct.
Design a process to read incoming data from the receiver (Rx) pin and reconstruct it into the
Packet
struct.The UART start and stop bits do not need to be included in reconstruction. The parity bit should be processed upon reception and should not be stored. All remaining data (headers?, Packet body) should be encoded into the
Byte
struct.