IgH EtherCAT Master
1.6.2
|
Register request functions. More...
Go to the source code of this file.
Functions | |
int | ec_reg_request_init (ec_reg_request_t *reg, size_t size) |
Register request constructor. More... | |
void | ec_reg_request_clear (ec_reg_request_t *reg) |
Register request destructor. More... | |
uint8_t * | ecrt_reg_request_data (const ec_reg_request_t *reg) |
Access to the register request's data. More... | |
ec_request_state_t | ecrt_reg_request_state (const ec_reg_request_t *reg) |
Get the current state of the register request. More... | |
int | ecrt_reg_request_write (ec_reg_request_t *reg, uint16_t address, size_t size) |
Schedule an register write operation. More... | |
int | ecrt_reg_request_read (ec_reg_request_t *reg, uint16_t address, size_t size) |
Schedule a register read operation. More... | |
Register request functions.
Definition in file reg_request.c.
int ec_reg_request_init | ( | ec_reg_request_t * | reg, |
size_t | size | ||
) |
Register request constructor.
reg | Register request. |
size | Memory size. |
Definition at line 40 of file reg_request.c.
void ec_reg_request_clear | ( | ec_reg_request_t * | reg | ) |
Register request destructor.
reg | Register request. |
Definition at line 65 of file reg_request.c.