Definition in file fsm_sii.c.
Go to the source code of this file.
Functions | |
| void | ec_fsm_sii_start_reading (ec_fsm_sii_t *fsm) |
| SII state: START READING. | |
| void | ec_fsm_sii_read_check (ec_fsm_sii_t *fsm) |
| SII state: READ CHECK. | |
| void | ec_fsm_sii_read_fetch (ec_fsm_sii_t *fsm) |
| SII state: READ FETCH. | |
| void | ec_fsm_sii_start_writing (ec_fsm_sii_t *fsm) |
| SII state: START WRITING. | |
| void | ec_fsm_sii_write_check (ec_fsm_sii_t *fsm) |
| SII state: WRITE CHECK. | |
| void | ec_fsm_sii_write_check2 (ec_fsm_sii_t *fsm) |
| SII state: WRITE CHECK 2. | |
| void | ec_fsm_sii_end (ec_fsm_sii_t *fsm) |
| State: END. | |
| void | ec_fsm_sii_error (ec_fsm_sii_t *fsm) |
| State: ERROR. | |
| void | ec_fsm_sii_init (ec_fsm_sii_t *fsm, ec_datagram_t *datagram) |
| Constructor. | |
| void | ec_fsm_sii_clear (ec_fsm_sii_t *fsm) |
| Destructor. | |
| void | ec_fsm_sii_read (ec_fsm_sii_t *fsm, ec_slave_t *slave, uint16_t offset, ec_fsm_sii_addressing_t mode) |
| Initializes the SII read state machine. | |
| void | ec_fsm_sii_write (ec_fsm_sii_t *fsm, ec_slave_t *slave, uint16_t offset, uint16_t *value, ec_fsm_sii_addressing_t mode) |
| Initializes the SII write state machine. | |
| int | ec_fsm_sii_exec (ec_fsm_sii_t *fsm) |
| Executes the SII state machine. | |
| int | ec_fsm_sii_success (ec_fsm_sii_t *fsm) |
| Returns, if the master startup state machine terminated with success. | |
|
|
SII state: START READING. Starts reading the slave information interface.
|
|
|
SII state: READ CHECK. Checks, if the SII-read-datagram has been sent and issues a fetch datagram.
|
|
|
SII state: READ FETCH. Fetches the result of an SII-read datagram.
|
|
|
SII state: START WRITING. Starts reading the slave information interface.
|
|
|
SII state: WRITE CHECK.
|
|
|
SII state: WRITE CHECK 2.
|
|
|
State: END.
|
|
|
State: ERROR.
|
|
||||||||||||
|
Constructor.
|
|
|
Destructor.
|
|
||||||||||||||||||||
|
Initializes the SII read state machine.
|
|
||||||||||||||||||||||||
|
Initializes the SII write state machine.
|
|
|
Executes the SII state machine.
|
|
|
Returns, if the master startup state machine terminated with success.
|
1.4.4