This application note describes the CAN interrupt drivers of the ST10F27x and provides programming examples that can be used to define interrupt schemes and write interrupt drivers.
This document describes the CAN interrupt drivers of the ST10F27x microcontroller family. It details the two C-CAN modules implemented on the device and explains how interrupts are generated and handled. The text covers interrupt sources, identification methods, and handling strategies, including message-specific interrupts, status interrupts, and error interrupts.
Error interrupts occur when warning status indicates error counters have reached the limit or when the controller enters a bus-off state.
These interrupts are enabled by setting bit TXIE for transmission or RXIE for reception in the CAN message objects.