Api Definition - Freescale Semiconductor DSP56800E User Manual

Hide thumbs Also See for DSP56800E:
Table of Contents

Advertisement

operating directly with the "raw" ID value (sometimes referred as IDR value) without further
conversions
have
FCANMB_GET_ID_RAW).
5.7.2.3

API Definition

The following header files are needed in order to use the FlexCAN device driver:
Required Header File(s):
#include "qs.h"
#include "fcan.h"
The following information may be found in the header file fcan.h.
Public Data Structure(s):
none
General-Use Macros and inline functions:
inline UWord32 FCAN_Id2Idr(UWord32 id);
inline UWord32 FCAN_Idr2Id(UWord32 idr);
5.7.2.4
Configuration Items
This section summarizes the symbols used in macro definitions for the static FlexCAN module
configuration. These symbols can be put in the project-specific configuration file appconfig.h and
are applied upon issuing the FCAN_INIT command.
Table 5-178. FlexCAN Configuration Items for appconfig.h
SYMBOL
FCAN_MCR_INIT
FCAN_CTL0_INIT
FCAN_CTL1_INIT\
FCAN_RXGMASKL_INIT
FCAN_RXGMASKH_INIT
FCAN_RX14MASKL_INIT
FCAN_RX14MASKH_INIT
FREESCALE SEMICONDUCTOR
the
_RAW
suffix
TYPE
UWord16
Initial value for selected control
bits of the FCMCR register. The
bits are written to the FCMCR
after the FlexCAN module is prop-
erly inintialized.
UWord16
Initial value of the FlexCAN Con-
trol Registers (FCCTL0 and
FCCTL1).
UWord16
Initial value of the FlexCAN
Receive Data Global Mask Regis-
ters (high and low part).
UWord16
Initial value of the FlexCAN
Receive Data Buffer 14 Mask
Registers (high and low part).
Targeting 56F8xxx Platform
(e.g.
FCAN_SET_RXGMASK_RAW
DESCRIPTION
or
WHEN UNDEFINED
Reset value used, the Flex-
CAN module remains in
HALT state,
Register not initialized.
Reset value used.
Register not initialized.
Reset value used.
Register not initialized.
Reset value used.
5-239

Advertisement

Table of Contents
loading

Table of Contents