Api Definition - Freescale Semiconductor DSP56800E User Manual

Hide thumbs Also See for DSP56800E:
Table of Contents

Advertisement

5.18.2.1

API Definition

The following header files are needed in order to use the IIC device driver:
Required Header File(s):
#include "qs.h"
#include "iic.h"
The following information may be found in the header file iic.h.
Public Data Structure(s):
None
5.18.2.2
Configuration Items
This section summarizes the symbols used in macro definitions for the static IIC module
configuration by the driver initialization routine. Configuration symbols are intended for the
application (project) specific configuration file appconfig.h.
SYMBOL
IIC_ENBL_INIT
IIC_CTRL_INIT
IIC_SAR_INIT
IIC_RXFT_INIT
IIC_TXFT_INIT
IIC_SSHCNT_INIT
IIC_SSLCNT_INIT
IIC_FSHCNT_INIT
IIC_FSLCNT_INIT
IIC_IENBL_INIT
5-820
Table 5-685. IIC Configuration Items for appconfig.h
TYPE
UWord16
UWord16
UWord16
UWord16
UWord16
UWord16
UWord16
UWord16
UWord16
UWord16
Targeting 56F8xxx Platform
DESCRIPTION
Initial value of the IIC Enable Register
Initial value of the IIC Control Register
Initial value of the IIC Slave Address Register
Initial value of the IIC Receive FIFO Threshold
Register
Initial value of the IIC Transmit FIFO Threshold
Register
Initial value of the IIC Standard Speed Clock
High Count Register
Initial value of the IIC Standard Speed Clock
Low Count Register
Initial value of the IIC Fast Speed Clock High
Count Register
Initial value of the IIC Fast Speed Clock Low
Count Register
Initial value of the IIC Interrupt Enable Register
FREESCALE SEMICONDUCTOR

Advertisement

Table of Contents
loading

Table of Contents