equal
deleted
inserted
replaced
813 int ecrt_master_sdo_download( |
813 int ecrt_master_sdo_download( |
814 ec_master_t *master, /**< EtherCAT master. */ |
814 ec_master_t *master, /**< EtherCAT master. */ |
815 uint16_t slave_position, /**< Slave position. */ |
815 uint16_t slave_position, /**< Slave position. */ |
816 uint16_t index, /**< Index of the SDO. */ |
816 uint16_t index, /**< Index of the SDO. */ |
817 uint8_t subindex, /**< Subindex of the SDO. */ |
817 uint8_t subindex, /**< Subindex of the SDO. */ |
818 uint8_t *data, /**< Data buffer to download. */ |
818 const uint8_t *data, /**< Data buffer to download. */ |
819 size_t data_size, /**< Size of the data buffer. */ |
819 size_t data_size, /**< Size of the data buffer. */ |
820 uint32_t *abort_code /**< Abort code of the SDO download. */ |
820 uint32_t *abort_code /**< Abort code of the SDO download. */ |
821 ); |
821 ); |
822 |
822 |
823 /** Executes an SDO download request to write data to a slave via complete |
823 /** Executes an SDO download request to write data to a slave via complete |
832 */ |
832 */ |
833 int ecrt_master_sdo_download_complete( |
833 int ecrt_master_sdo_download_complete( |
834 ec_master_t *master, /**< EtherCAT master. */ |
834 ec_master_t *master, /**< EtherCAT master. */ |
835 uint16_t slave_position, /**< Slave position. */ |
835 uint16_t slave_position, /**< Slave position. */ |
836 uint16_t index, /**< Index of the SDO. */ |
836 uint16_t index, /**< Index of the SDO. */ |
837 uint8_t *data, /**< Data buffer to download. */ |
837 const uint8_t *data, /**< Data buffer to download. */ |
838 size_t data_size, /**< Size of the data buffer. */ |
838 size_t data_size, /**< Size of the data buffer. */ |
839 uint32_t *abort_code /**< Abort code of the SDO download. */ |
839 uint32_t *abort_code /**< Abort code of the SDO download. */ |
840 ); |
840 ); |
841 |
841 |
842 /** Executes an SDO upload request to read data from a slave. |
842 /** Executes an SDO upload request to read data from a slave. |