Skip to content

Struct x430_port

ClassList > x430_port

Platform services. More...

  • #include <x430_types.h>

Public Attributes

Type Name
void * context
Passed to every function.
x430_delay_fn delay_us
Delay before a status packet.
x430_lock_fn lock
Take the bus lock.
x430_millis_fn millis
Free-running millisecond counter.
x430_lock_fn unlock
Release the bus lock.

Detailed Description

Every member may be NULL; the library then works without that service:

Member Used for NULL means
lock mutual exclusion of the Control Tables single context (bare metal)
unlock (pair of lock)
millis Realtime Tick (120), Bus Watchdog (98) tick 0, no watchdog timeout
delay_us Return Delay Time (9) before a status status sent at once

The bus keeps a pointer to the port: keep it alive as long as the bus.

Public Attributes Documentation

variable context

Passed to every function.

void* x430_port::context;


variable delay_us

Delay before a status packet.

x430_delay_fn x430_port::delay_us;


variable lock

Take the bus lock.

x430_lock_fn x430_port::lock;


variable millis

Free-running millisecond counter.

x430_millis_fn x430_port::millis;


variable unlock

Release the bus lock.

x430_lock_fn x430_port::unlock;



The documentation for this class was generated from the following file inc/x430_types.h