Datasheet
数据手册 > 微控制器,MCU,单片机 > ST Microelectronics > ST10F276-6QR3 数据手册PDF > ST10F276-6QR3 用户编程手册 第 1/26 页
ST10F276-6QR3
¥ 143.06
百芯的价格

ST10F276-6QR3 用户编程手册 - ST Microelectronics

  • 制造商:
    ST Microelectronics
  • 分类:
    微控制器,MCU,单片机
  • 封装
    BQFP-144
  • 描述:
    MCU 16Bit ST10 CISC/RISC 832KB Flash 5V 144Pin PQFP T/R
  • 页面指南:
更新时间: 2025-05-21 19:56:34 (UTC+8)

ST10F276-6QR3 用户编程手册

页码:/26页
下载 PDF
重新加载
下载
September 2013
Rev 2 1/26
AN2341
Application note
Programming ST10F27x/F25x CAN interrupt drivers
Introduction
This application note describes the CAN interrupt drivers of the ST10F27x/ST10F25x and
provides programming examples that can be used to define interrupt schemes and write
interrupt drivers. Two C-CAN modules are implemented on ST10F27x/ST10F25x, mapped
on XBUS.
Interrupt sources, the way the sources of interrupts are identified and the two methods of
handling interrupts are described: One using the hardware features of the CAN modules
and the other through polling internal sources.
Programming the CAN interrupt drivers through CAN hardware features uses the RXIE and
TXIE bits of each message object. All 32 message objects are accessed through interface
registers. Two sets of register are available for each module, for example CANxIF1 registers
can be used to read from a message object whereas CANxIF2 registers can be used to
write into a message object. Whenever a message is transmitted or received by a message
object, the corresponding interrupt is serviced according to its priority (based on the value of
IntId). This method requires minimum CPU overhead and is the preferred method for most
applications.
CAN polling generates an interrupt whenever a successful transmission or reception occurs.
Polling is high in CPU overhead, as the CPU is interrupted every time a message is
acknowledged on the CAN bus. Therefore, programming the interrupt driver using polling is
only recommended for small networks.
Sample programs are provided for each method as examples.
www.st.com
页面指南
页面指南

ST10F276-6QR3 数据手册 PDF

ST10F276-6QR3 数据手册
ST Microelectronics
235 页, 2221 KB
ST10F276-6QR3 产品设计参考
ST Microelectronics
564 页, 14036 KB
ST10F276-6QR3 用户编程手册
ST Microelectronics
26 页, 159 KB
ST10F276-6QR3 其它数据手册
ST Microelectronics
3 页, 630 KB
ST10F276-6QR3 应用笔记
ST Microelectronics
54 页, 1518 KB

ST10F2766 数据手册 PDF

ST10F276-6QR3 数据手册
ST Microelectronics
MCU 16Bit ST10 CISC/RISC 832KB Flash 5V 144Pin PQFP T/R
ST10F276-6Q3 数据手册
ST Microelectronics
MCU 16Bit ST10 CISC/RISC 832KB Flash 5V 144Pin PQFP Tray
Datasheet 搜索
搜索
百芯智造数据库涵盖1亿多个数据手册,每天更新超过5,000个PDF文件。
在线联系我们
黄经理 - 百芯智造销售经理在线,5 分钟前
您的邮箱 *
消息 *
发送