STMicroelectronics AN2628 ST10F27x CAN Interrupt Drivers Programming Application Note

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.


STMicroelectronics AN2628 ST10F27x CAN Interrupt Drivers Programming Application Note - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
Application Note
Language
English
Pages
27
File format
PDF
File size
200 KB
Published
07 August, 2012
Updated
30 September, 2023
MD5 checksum
C538CA1A8921DF4478BDBC5102CE3245

About this manual

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.

What's inside

  • Interrupt sources and identification
  • Global interrupt sources
  • Individual interrupt sources
  • Status interrupts
  • Error interrupts
  • Message-specific interrupts
  • Handling interrupts
  • Programming through CAN hardware features
  • Programming through polling
  • Register description

Frequently asked questions

What specific conditions trigger error interrupts?

Error interrupts occur when warning status indicates error counters have reached the limit or when the controller enters a bus-off state.

How are message-specific interrupts individually enabled?

These interrupts are enabled by setting bit TXIE for transmission or RXIE for reception in the CAN message objects.

Download PDF (200 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →