The set of callbacks the implementation supports.
Public Attributes#
sid_error_t(*
Callback to transfer messages in full duplex mode.
sid_error_t(*
Callback to transfer messages in half duplex mode.
sid_error_t(*
Callback to delete the serial bus interface.
Public Attribute Documentation#
xfer#
sid_error_t(* sid_pal_serial_bus_iface::xfer) (const struct sid_pal_serial_bus_iface *iface, const struct sid_pal_serial_bus_client *client, uint8_t *tx, uint8_t *rx, size_t xfer_size)
Callback to transfer messages in full duplex mode.
Returns
sid_error_t error code indicating the result of the operation.
xfer_hd#
sid_error_t(* sid_pal_serial_bus_iface::xfer_hd) (const struct sid_pal_serial_bus_iface *iface, const struct sid_pal_serial_bus_client *client, uint8_t *tx, uint8_t *rx, size_t tx_size, size_t rx_size)
Callback to transfer messages in half duplex mode.
Returns
sid_error_t error code indicating the result of the operation.
destroy#
sid_error_t(* sid_pal_serial_bus_iface::destroy) (const struct sid_pal_serial_bus_iface *iface)
Callback to delete the serial bus interface.
Returns
sid_error_t error code indicating the result of the operation.