Back to DRIVERS page

AVR UC3 Series Software Framework: CANIF Driver

Copyright © 2007 Atmel Corporation

Introduction

Control Area Network (CAN) is a serial communication protocol with high level of security. Each node is master on the bus but only one at a time is able to send a message. CANIF is a 32-bit interface for CAN channels. Each channel provides the following services:

  • Message filtering
  • Message and status handling
  • Fault confinement
  • Error detection and signalling
  • Message validation and acknowledgement
  • Bus arbitration
  • Message framing
  • Transfer rate and timing
  • These services, with the exception of message filtering and message handling, are described in the CAN protocol, please refer to Bosch - CAN Specification for more details.

     

    CANIF Driver

    The driver is composed of low level access canif.c and canif.h.

    The driver is composed of high level access can.c and can.h.

     

    An example is available: How to use the CANIF in sleep mode.

    An example is available: How to use the CANIF in normal mode.

     


    AVR is a registered trademark of Atmel Corporation.