View Source Circuits.UART.Framing.FourByte (circuits_uart v1.5.3)
Each message is 4 bytes. This framer doesn't do anything for the transmit direction, but for receives, it will collect bytes in batches of 4 before sending them up. The user can set up a framer timeout if they don't mind partial frames. This can be useful to resyncronize when bytes are dropped.
Summary
Functions
Callback implementation for Circuits.UART.Framing.add_framing/2
.
Callback implementation for Circuits.UART.Framing.flush/2
.
Callback implementation for Circuits.UART.Framing.frame_timeout/1
.
Callback implementation for Circuits.UART.Framing.init/1
.
Callback implementation for Circuits.UART.Framing.remove_framing/2
.
Functions
Callback implementation for Circuits.UART.Framing.add_framing/2
.
Callback implementation for Circuits.UART.Framing.flush/2
.
Callback implementation for Circuits.UART.Framing.frame_timeout/1
.
Callback implementation for Circuits.UART.Framing.init/1
.
Callback implementation for Circuits.UART.Framing.remove_framing/2
.