CAN Bus Functions
Complete reference for CAPL functions used in CAN bus communication.
Categories
Message Functions
Functions for sending and receiving CAN messages.
- output - Transmit a CAN message
- getMessage - Get a message from the bus
- lookupMessage - Find a message by ID
- lookupSignal - Find a signal in a message
Event Procedures
Event handlers that respond to CAN bus events.
- on message - Handle received messages
- on errorFrame - Handle error frames
Controller Functions
Functions for configuring CAN controller hardware.
- resetCan - Reset CAN controller
- setTimerCyclic - Set cyclic timer
Statistics Functions
Functions for monitoring bus statistics.
- busLoad - Get bus load percentage
- errorFrameCount - Count error frames
Error Handling
Functions for managing CAN error states.
- canOnline - Bring CAN channel online
- canOffline - Take CAN channel offline