Keil Logo

Source Files

Source files for the Real-Time Library CAN Driver are found in the \KEIL\ARM\Boards\<vendor>\<board>\RL\CAN\ folders. Various architectures are supported.

  • \KEIL\ARM\Boards\Atmel\AT91SAM7X-EK\RL\CAN\
    This folder contains CAN projects for the Atmel AT91SAM7X Evaluation Board for the
    Atmel AT91SAM7X device family.
  • \KEIL\ARM\Boards\Keil\MCB1700\RL\CAN\
    This folder contains CAN projects for the Keil MCB1700 Evaluation Board for the
    NXP LPC17xx device family.
  • \KEIL\ARM\Boards\Keil\MCB2100\RL\CAN\
    This folder contains CAN projects for the Keil MCB2100 Evaluation Board for the
    NXP LPC21xx device family.
  • \KEIL\ARM\Boards\Keil\MCB2300\RL\CAN\
    This folder contains CAN projects for the Keil MCB2300 Evaluation Board for the
    NXP LPC23xx device family.
  • \KEIL\ARM\Boards\Keil\MCB2400\RL\CAN\
    This folder contains CAN projects for the Keil MCB2400 Evaluation Board for the
    NXP LPC24xx device family.
  • \KEIL\ARM\Boards\Keil\MCB2900\RL\CAN\
    This folder contains CAN projects for the Keil MCB2900 Evaluation Board for the
    NXP LPC29xx device family.
  • \KEIL\ARM\Boards\Keil\MCB2929\RL\CAN\
    This folder contains CAN projects for the Keil MCB2929 Evaluation Board for the
    NXP LPC29xx device family.
  • \KEIL\ARM\Boards\Keil\MCBSTM32\RL\CAN\
    This folder contains CAN projects for the Keil MCBSTM32 Evaluation Board for the
    ST Microelectronics STM32F103 device family.
  • \KEIL\ARM\Boards\Keil\MCBSTM32C\RL\CAN\
    This folder contains CAN projects for the Keil MCBSTM32C Evaluation Board for the
    ST Microelectronics STM32F105/7 device family.
  • \KEIL\ARM\Boards\Keil\MCBSTM32E\RL\CAN\
    This folder contains CAN projects for the Keil MCBSTM32E Evaluation Board for the
    ST Microelectronics STM32F103 device family.
  • \KEIL\ARM\Boards\Keil\MCBSTR7\RL\CAN\
    This folder contains CAN projects for the Keil MCBSTR7 Evaluation Board for the
    ST Microelectronics STR71x device family.
  • \KEIL\ARM\Boards\Keil\MCBSTR730\RL\CAN\
    This folder contains CAN projects for the Keil MCBSTR730 Evaluation Board for the
    ST Microelectronics STR73x device family.
  • \KEIL\ARM\Boards\Keil\MCBSTR9\RL\CAN\
    This folder contains CAN projects for the Keil MCBSTR9 Evaluation Board for the
    ST Microelectronics STR91x device family.
  • \KEIL\ARM\Boards\Luminary\EK-LM3S2110\RL\CAN\
    This folder contains CAN projects for the Luminary EK-LM3S2110 Evaluation Board for the Luminary LM3Sxxxx device family.
  • \KEIL\ARM\Boards\Luminary\EK-LM3S8962\RL\CAN\
    This folder contains CAN projects for the Luminary EK-LM3S8962 Evaluation Board for the Luminary LM3Sxxxx device family.
  • \KEIL\ARM\Boards\Phytec\LPC229x\RL\CAN\
    This folder contains CAN projects for the Phytec LPC229x Evaluation Board for the
    NXP LPC229x device family.

The following table identifies the file names and contents. The include and source files described contain constant definitions and program code that is specific to each target hardware and microcontroller.

Filename Description
RTX_CAN.H This include file defines the functions and constants related to the CAN driver. This header file should be included in all source files that use CAN Driver routines.
It is located in Keil\ARM\RV31\INC directory.
RTX_CAN.C This source file is the common generic CAN Driver file that interfaces to the hardware layer via routines implemented in CAN_chip.C.
It is located in Keil\ARM\RL\CAN\SRC directory.
CAN_chip.C This source file contains the hardware-level driver routines. "chip" stands for name of device series, for example for NXP LPC23xx device series file name is CAN_LPC23xx.C . All files are located in Keil\ARM\RL\CAN\Drivers directory.
CAN_CFG.H This include file is the configuration file that enables users to easily change parameters for the hardware-level driver. You may edit this file using the Configuration Wizard in µVision®.
CAN_REG.H This include file contains type definitions that are used by the hardware-level driver routines. This include file is only used for the NXP LPC2xxx device family.

Note

  • To use the CAN Driver in your own project, copy the files listed above except RTX_CAN.H and RTX_CAN.C from the appropriate folder into your project folder. Then, configure CAN_CFG.H to meet the requirements of your CAN application.
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.