This file is part of the CANopen library; it contains the implementation of the Receive-PDO functions.
More...
|
static int | co_rpdo_init_recv (co_rpdo_t *pdo) |
| Initializes the CAN frame receiver of a Receive-PDO service. More...
|
|
static int | co_rpdo_init_timer_event (co_rpdo_t *pdo) |
| Initializes the CAN timer for deadline monitoring of a Receive-PDO service. More...
|
|
static int | co_rpdo_init_timer_swnd (co_rpdo_t *pdo) |
| Initializes the CAN timer for the synchronous time window of a Receive-PDO service. More...
|
|
static co_unsigned32_t | co_1400_dn_ind (co_sub_t *sub, struct co_sdo_req *req, void *data) |
| The download indication function for (all sub-objects of) CANopen objects 1400..15FF (RPDO communication parameter). More...
|
|
static co_unsigned32_t | co_1600_dn_ind (co_sub_t *sub, struct co_sdo_req *req, void *data) |
| The download indication function for (all sub-objects of) CANopen objects 1600..17FF (RPDO mapping parameter). More...
|
|
static int | co_rpdo_recv (const struct can_msg *msg, void *data) |
| The CAN receive callback function for a Receive-PDO service. More...
|
|
static int | co_rpdo_timer_event (const struct timespec *tp, void *data) |
| The CAN timer callback function for deadline monitoring of a Receive-PDO service. More...
|
|
static int | co_rpdo_timer_swnd (const struct timespec *tp, void *data) |
| The CAN timer callback function for the synchronous time window of a Receive-PDO service. More...
|
|
static co_unsigned32_t | co_rpdo_read_frame (co_rpdo_t *pdo, const struct can_msg *msg) |
| Parses a CAN frame received by a Receive-PDO service and updates the corresponding objects in the object dictionary. More...
|
|
co_rpdo_t * | co_rpdo_create (can_net_t *net, co_dev_t *dev, co_unsigned16_t num) |
| Creates a new CANopen Receive-PDO service. More...
|
|
void | co_rpdo_destroy (co_rpdo_t *rpdo) |
| Destroys a CANopen Receive-PDO service. More...
|
|
can_net_t * | co_rpdo_get_net (const co_rpdo_t *pdo) |
| Returns a pointer to the CAN network of a Receive-PDO.
|
|
co_dev_t * | co_rpdo_get_dev (const co_rpdo_t *pdo) |
| Returns a pointer to the CANopen device of a Receive-PDO.
|
|
co_unsigned16_t | co_rpdo_get_num (const co_rpdo_t *pdo) |
| Returns the PDO number of a Receive-PDO.
|
|
const struct co_pdo_comm_par * | co_rpdo_get_comm_par (const co_rpdo_t *pdo) |
| Returns a pointer to the PDO communication parameter record of a Receive-PDO.
|
|
const struct co_pdo_map_par * | co_rpdo_get_map_par (const co_rpdo_t *pdo) |
| Returns a pointer to the PDO mapping parameter record of a Receive-PDO.
|
|
void | co_rpdo_get_ind (const co_rpdo_t *pdo, co_rpdo_ind_t **pind, void **pdata) |
| Retrieves the indication function invoked when a Receive-PDO error occurs. More...
|
|
void | co_rpdo_set_ind (co_rpdo_t *pdo, co_rpdo_ind_t *ind, void *data) |
| Sets the indication function invoked when a Receive-PDO error occurs. More...
|
|
void | co_rpdo_get_err (const co_rpdo_t *pdo, co_rpdo_err_t **perr, void **pdata) |
| Retrieves the error handling function of a Receive-PDO service. More...
|
|
void | co_rpdo_set_err (co_rpdo_t *pdo, co_rpdo_err_t *err, void *data) |
| Sets the error handling function of a Receive-PDO service. More...
|
|
int | co_rpdo_rtr (co_rpdo_t *pdo) |
| Requests the transmission of a PDO. More...
|
|
int | co_rpdo_sync (co_rpdo_t *pdo, co_unsigned8_t cnt) |
| Triggers the actuation of a received synchronous PDO. More...
|
|
This file is part of the CANopen library; it contains the implementation of the Receive-PDO functions.
- See also
- lely/co/rpdo.h
- Copyright
- 2016-2020 Lely Industries N.V.
- Author
- J. S. Seldenthuis jseld.nosp@m.enth.nosp@m.uis@l.nosp@m.ely..nosp@m.com
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file rpdo.c.