IgH EtherCAT Master
1.5.3
|
EtherCAT slave information interface FSM. More...
Go to the source code of this file.
Macros | |
#define | SII_TIMEOUT 20 |
Read/write timeout [ms]. More... | |
#define | SII_INHIBIT 5 |
Time before evaluating answer at writing [ms]. | |
Functions | |
void | ec_fsm_sii_state_start_reading (ec_fsm_sii_t *fsm) |
SII state: START READING. More... | |
void | ec_fsm_sii_state_read_check (ec_fsm_sii_t *fsm) |
SII state: READ CHECK. More... | |
void | ec_fsm_sii_state_read_fetch (ec_fsm_sii_t *fsm) |
SII state: READ FETCH. More... | |
void | ec_fsm_sii_state_start_writing (ec_fsm_sii_t *fsm) |
SII state: START WRITING. More... | |
void | ec_fsm_sii_state_write_check (ec_fsm_sii_t *fsm) |
SII state: WRITE CHECK. More... | |
void | ec_fsm_sii_state_write_check2 (ec_fsm_sii_t *fsm) |
SII state: WRITE CHECK 2. More... | |
void | ec_fsm_sii_state_end (ec_fsm_sii_t *fsm) |
State: END. More... | |
void | ec_fsm_sii_state_error (ec_fsm_sii_t *fsm) |
State: ERROR. More... | |
void | ec_fsm_sii_init (ec_fsm_sii_t *fsm, ec_datagram_t *datagram) |
Constructor. More... | |
void | ec_fsm_sii_clear (ec_fsm_sii_t *fsm) |
Destructor. More... | |
void | ec_fsm_sii_read (ec_fsm_sii_t *fsm, ec_slave_t *slave, uint16_t word_offset, ec_fsm_sii_addressing_t mode) |
Initializes the SII read state machine. More... | |
void | ec_fsm_sii_write (ec_fsm_sii_t *fsm, ec_slave_t *slave, uint16_t word_offset, const uint16_t *value, ec_fsm_sii_addressing_t mode) |
Initializes the SII write state machine. More... | |
int | ec_fsm_sii_exec (ec_fsm_sii_t *fsm) |
Executes the SII state machine. More... | |
int | ec_fsm_sii_success (ec_fsm_sii_t *fsm) |
Returns, if the master startup state machine terminated with success. More... | |
EtherCAT slave information interface FSM.
Definition in file fsm_sii.c.
#define SII_TIMEOUT 20 |
void ec_fsm_sii_state_start_reading | ( | ec_fsm_sii_t * | fsm | ) |
void ec_fsm_sii_state_read_check | ( | ec_fsm_sii_t * | fsm | ) |
void ec_fsm_sii_state_read_fetch | ( | ec_fsm_sii_t * | fsm | ) |
void ec_fsm_sii_state_start_writing | ( | ec_fsm_sii_t * | fsm | ) |
void ec_fsm_sii_state_write_check | ( | ec_fsm_sii_t * | fsm | ) |
void ec_fsm_sii_state_write_check2 | ( | ec_fsm_sii_t * | fsm | ) |
void ec_fsm_sii_state_end | ( | ec_fsm_sii_t * | fsm | ) |
void ec_fsm_sii_state_error | ( | ec_fsm_sii_t * | fsm | ) |
void ec_fsm_sii_init | ( | ec_fsm_sii_t * | fsm, |
ec_datagram_t * | datagram | ||
) |
void ec_fsm_sii_clear | ( | ec_fsm_sii_t * | fsm | ) |
void ec_fsm_sii_read | ( | ec_fsm_sii_t * | fsm, |
ec_slave_t * | slave, | ||
uint16_t | word_offset, | ||
ec_fsm_sii_addressing_t | mode | ||
) |
void ec_fsm_sii_write | ( | ec_fsm_sii_t * | fsm, |
ec_slave_t * | slave, | ||
uint16_t | word_offset, | ||
const uint16_t * | value, | ||
ec_fsm_sii_addressing_t | mode | ||
) |
int ec_fsm_sii_exec | ( | ec_fsm_sii_t * | fsm | ) |
int ec_fsm_sii_success | ( | ec_fsm_sii_t * | fsm | ) |