1.5 CAN-TP interaction with the Timer PLIB
When a user selects a timer as a dependent module for CAN-TP it specifies the configurations required to function. The configurations are as followed:
-
1 millisecond interval
-
Enabled to be interrupt driven
These configurations are selected for the CAN Transport Layer to be able to update internal counters in sequence utilizing the imported timer module's interrupts. The counters track transmit seperation time, transmit/receive timeouts, and flow control transmit/receive timeouts.
Generated Timer Files and Descriptions
-
Depending on the selected timer, the file names will be generated to match. The file generation will occur alongside the CAN-TP firmware generation.
-
The files provide access to the timer controls and settings.
-
The timer's driver interface.