ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
SmbusNs Struct Reference

Dispatch table. Addressed by offset, so the layout is asserted below. More...

#include <smbus.h>

Public Attributes

uint8_t(* addr_byte )(uint8_t *, uint8_t, uint8_t)
 
uint8_t(* pec_write )(uint8_t *, uint8_t, const uint8_t *, size_t)
 
uint8_t(* pec_read )(uint8_t *, uint8_t, const uint8_t *, size_t, const uint8_t *, size_t)
 
void(* set_pec )(uint8_t *, proto_bool)
 
proto_bool(* pec_enabled )(uint8_t *)
 
proto_bool(* begin )(uint8_t *)
 
proto_bool(* quick )(uint8_t *, uint8_t, uint8_t)
 
proto_bool(* send_byte )(uint8_t *, uint8_t, uint8_t)
 
proto_bool(* receive_byte )(uint8_t *, uint8_t, uint8_t *)
 
proto_bool(* write_byte )(uint8_t *, uint8_t, uint8_t, uint8_t)
 
proto_bool(* read_byte )(uint8_t *, uint8_t, uint8_t, uint8_t *)
 
proto_bool(* write_word )(uint8_t *, uint8_t, uint8_t, uint16_t)
 
proto_bool(* read_word )(uint8_t *, uint8_t, uint8_t, uint16_t *)
 
proto_bool(* write_block )(uint8_t *, uint8_t, uint8_t, const uint8_t *, size_t)
 
proto_bool(* read_block )(uint8_t *, uint8_t, uint8_t, uint8_t *, size_t, size_t *)
 
proto_bool(* process_call )(uint8_t *, uint8_t, uint8_t, uint16_t, uint16_t *)
 
proto_bool(* block_process_call )(uint8_t *, uint8_t, uint8_t, const uint8_t *, size_t, uint8_t *, size_t, size_t *)
 

Detailed Description

Dispatch table. Addressed by offset, so the layout is asserted below.

Definition at line 43 of file smbus.h.

Member Data Documentation

◆ addr_byte

uint8_t(* SmbusNs::addr_byte) (uint8_t *, uint8_t, uint8_t)

Definition at line 45 of file smbus.h.

◆ pec_write

uint8_t(* SmbusNs::pec_write) (uint8_t *, uint8_t, const uint8_t *, size_t)

Definition at line 46 of file smbus.h.

◆ pec_read

uint8_t(* SmbusNs::pec_read) (uint8_t *, uint8_t, const uint8_t *, size_t, const uint8_t *, size_t)

Definition at line 47 of file smbus.h.

◆ set_pec

void(* SmbusNs::set_pec) (uint8_t *, proto_bool)

Definition at line 48 of file smbus.h.

◆ pec_enabled

proto_bool(* SmbusNs::pec_enabled) (uint8_t *)

Definition at line 49 of file smbus.h.

◆ begin

proto_bool(* SmbusNs::begin) (uint8_t *)

Definition at line 50 of file smbus.h.

◆ quick

proto_bool(* SmbusNs::quick) (uint8_t *, uint8_t, uint8_t)

Definition at line 51 of file smbus.h.

◆ send_byte

proto_bool(* SmbusNs::send_byte) (uint8_t *, uint8_t, uint8_t)

Definition at line 52 of file smbus.h.

◆ receive_byte

proto_bool(* SmbusNs::receive_byte) (uint8_t *, uint8_t, uint8_t *)

Definition at line 53 of file smbus.h.

◆ write_byte

proto_bool(* SmbusNs::write_byte) (uint8_t *, uint8_t, uint8_t, uint8_t)

Definition at line 54 of file smbus.h.

◆ read_byte

proto_bool(* SmbusNs::read_byte) (uint8_t *, uint8_t, uint8_t, uint8_t *)

Definition at line 55 of file smbus.h.

◆ write_word

proto_bool(* SmbusNs::write_word) (uint8_t *, uint8_t, uint8_t, uint16_t)

Definition at line 56 of file smbus.h.

◆ read_word

proto_bool(* SmbusNs::read_word) (uint8_t *, uint8_t, uint8_t, uint16_t *)

Definition at line 57 of file smbus.h.

◆ write_block

proto_bool(* SmbusNs::write_block) (uint8_t *, uint8_t, uint8_t, const uint8_t *, size_t)

Definition at line 58 of file smbus.h.

◆ read_block

proto_bool(* SmbusNs::read_block) (uint8_t *, uint8_t, uint8_t, uint8_t *, size_t, size_t *)

Definition at line 59 of file smbus.h.

◆ process_call

proto_bool(* SmbusNs::process_call) (uint8_t *, uint8_t, uint8_t, uint16_t, uint16_t *)

Definition at line 60 of file smbus.h.

◆ block_process_call

proto_bool(* SmbusNs::block_process_call) (uint8_t *, uint8_t, uint8_t, const uint8_t *, size_t, uint8_t *, size_t, size_t *)

Definition at line 61 of file smbus.h.


The documentation for this struct was generated from the following file: