equal
deleted
inserted
replaced
786 */ |
786 */ |
787 size_t ecrt_domain_size( |
787 size_t ecrt_domain_size( |
788 ec_domain_t *domain /**< Domain. */ |
788 ec_domain_t *domain /**< Domain. */ |
789 ); |
789 ); |
790 |
790 |
|
791 #ifdef __KERNEL__ |
|
792 |
791 /** Provide external memory to store the domain's process data. |
793 /** Provide external memory to store the domain's process data. |
792 * |
794 * |
793 * Call this after all Pdo entries have been registered and before activating |
795 * Call this after all Pdo entries have been registered and before activating |
794 * the master. |
796 * the master. |
795 * |
797 * |
799 void ecrt_domain_external_memory( |
801 void ecrt_domain_external_memory( |
800 ec_domain_t *domain, /**< Domain. */ |
802 ec_domain_t *domain, /**< Domain. */ |
801 uint8_t *memory /**< Address of the memory to store the process |
803 uint8_t *memory /**< Address of the memory to store the process |
802 data in. */ |
804 data in. */ |
803 ); |
805 ); |
|
806 |
|
807 #endif /* __KERNEL__ */ |
804 |
808 |
805 /** Returns the domain's process data. |
809 /** Returns the domain's process data. |
806 * |
810 * |
807 * If external memory was provided with ecrt_domain_external_memory(), the |
811 * If external memory was provided with ecrt_domain_external_memory(), the |
808 * returned pointer will contain the address of that memory. Otherwise it will |
812 * returned pointer will contain the address of that memory. Otherwise it will |