Data Structures
I2CTargetLPF3.h File Reference

Detailed Description

I2CTarget driver implementation for a Low Power F3 device I2C target.


Note
All calls should go through the generic I2CTarget API.

Driver Include

The I2CTarget header file should be included in an application as follows:

#include <ti/drivers/i2c/I2CTargetLPF3.h>

Refer to I2CTarget.h for a complete description of APIs.

Overview

The generic I2CTarget API is normally used in application code, for example, I2CTarget_open(). Do not use APIs in this header file directly. The board file will define the device specific config, and casting in the general API will ensure that the correct device specific functions are called.

General Behavior

Before using the I2C in LPF3:

Power Management

The I2CTargetLPF3 driver sets a power constraint when I2CTarget_start() is called to keep the device out of standby; so when all tasks are blocked, the device will enter idle mode instead of standby. When the application calls I2CTarget_stop(), the the power constraint to prohibit standby is released. The following statements are valid:

Supported Functions

Note
All calls should go through the generic API.

Use Cases

See generic API for examples.

#include <stdint.h>
#include <stdbool.h>
#include <ti/drivers/I2CTarget.h>
#include <ti/drivers/Power.h>
Include dependency graph for I2CTargetLPF3.h:

Go to the source code of this file.

Data Structures

struct  I2CTargetLPF3_HWAttrs
 I2CTargetLPF3 Hardware attributes. More...
 
struct  I2CTargetLPF3_Object
 I2CTargetLPF3 Object. More...
 
© Copyright 1995-2024, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale