Lely core libraries  2.3.4
__co_ssdo_state Struct Reference

A CANopen Server-SDO state. More...

Collaboration diagram for __co_ssdo_state:

Data Fields

co_ssdo_state_t *(* on_abort )(co_ssdo_t *sdo, co_unsigned32_t ac)
 A pointer to the transition function invoked when an abort code has been received. More...
 
co_ssdo_state_t *(* on_time )(co_ssdo_t *sdo, const struct timespec *tp)
 A pointer to the transition function invoked when a timeout occurs. More...
 
co_ssdo_state_t *(* on_recv )(co_ssdo_t *sdo, const struct can_msg *msg)
 A pointer to the transition function invoked when a CAN frame has been received. More...
 

Detailed Description

A CANopen Server-SDO state.

Definition at line 171 of file ssdo.c.

Field Documentation

◆ on_abort

co_ssdo_state_t*(* __co_ssdo_state::on_abort) (co_ssdo_t *sdo, co_unsigned32_t ac)

A pointer to the transition function invoked when an abort code has been received.

Parameters
sdoa pointer to a Server-SDO service.
acthe abort code.
Returns
a pointer to the next state.

Definition at line 181 of file ssdo.c.

◆ on_time

co_ssdo_state_t*(* __co_ssdo_state::on_time) (co_ssdo_t *sdo, const struct timespec *tp)

A pointer to the transition function invoked when a timeout occurs.

Parameters
sdoa pointer to a Server-SDO service.
tpa pointer to the current time.
Returns
a pointer to the next state.

Definition at line 190 of file ssdo.c.

◆ on_recv

co_ssdo_state_t*(* __co_ssdo_state::on_recv) (co_ssdo_t *sdo, const struct can_msg *msg)

A pointer to the transition function invoked when a CAN frame has been received.

Parameters
sdoa pointer to a Server-SDO service.
msga pointer to the received CAN frame.
Returns
a pointer to the next state.

Definition at line 200 of file ssdo.c.


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