uint32_t EC_API_SLV_PDO_addPadding | ( | EC_API_SLV_SHandle_t * | pEcSlaveApi_p, |
EC_API_SLV_SPdo_t * | pPdo_p, | ||
uint8_t | length_p | ||
) |
Add padding to the PDO.
The process data can be mapped bitwise, however it can lead into alignment issues. This function add a desired padding to the process data.
[in] | pEcSlaveApi_p | The pointer to the EtherCAT API instance. |
[in] | pPdo_p | The pointer to the PDO. |
[in] | length_p | Length of the padding in bits. |