參數(shù)資料
型號(hào): ST10F168
廠商: 意法半導(dǎo)體
英文描述: 16-Bit MCU with 8KB RAM and 256KB Flash Memory and CAN Interface(16位微控制器(帶8KB的RAM,256KB閃速存儲(chǔ)器和CAN接口))
中文描述: 16位微控制器與8KB的RAM和256KB的閃存和CAN接口(16位微控制器(帶8KB的的內(nèi)存,256KB的閃速存儲(chǔ)器和接口的CAN))
文件頁(yè)數(shù): 1/19頁(yè)
文件大小: 78K
代理商: ST10F168
APPLICATION NOTE
ST10X167/ST10F168
72-TCH-172-00
12 Oct 1998
Programming ST10X167/ST10F168 CAN interrupt drivers
This application note describes the CAN interrupt drivers of the
ST10X167/ST10F168 and provides programming examples that can
be used to define interrupt schemes and write interrupt drivers.
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 module and
the other through polling internal sources.
Programming the CAN interrupt drivers through CAN hardware features uses RXIE and
TXIE bits in the Message Control Register of each 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 asuccessful 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 and can used as examples.
相關(guān)PDF資料
PDF描述
ST10F269 16-BIT MCU WITH MAC UNIT, 256K BYTE FLASH MEMORY AND 12K BYTE RAM
ST10F269-DP 16-BIT MCU WITH MAC UNIT, 256K BYTE FLASH MEMORY AND 12K BYTE RAM
ST10F269-T3 16-BIT MCU WITH MAC UNIT, 256K BYTE FLASH MEMORY AND 12K BYTE RAM
ST10F269-Q3 16-BIT MCU WITH MAC UNIT, 256K BYTE FLASH MEMORY AND 12K BYTE RAM
ST10F280 16-BIT MCU WITH MAC UNIT, 512K BYTE FLASH MEMORY AND 18K BYTE RAM
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ST10F168-ERRATA 制造商:未知廠家 制造商全稱:未知廠家 功能描述:ST10F168 ERRATA SHEET REVISION BB
ST10F168-Q2 制造商:未知廠家 制造商全稱:未知廠家 功能描述:16-Bit Microcontroller
ST10F168Q3 制造商:STMicroelectronics 功能描述:MicroController, 16-Bit, 144 Pin, Plastic, QFP
ST10F168-Q3 制造商:STMicroelectronics 功能描述:MicroController, 16-Bit, 144 Pin, Plastic, QFP
ST10F168-Q6 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:16-BIT MCU WITH 256K BYTE FLASH MEMORY AND 8K BYTE RAM