I2C_Drivers (ARM) 1.1
SMFSW collection of HAL I2C Drivers for ARM
Loading...
Searching...
No Matches
DRV2605L_proc.h File Reference

DRV2605L Driver procedures. More...

#include "sarmfsw.h"
#include "DRV2605L.h"
Include dependency graph for DRV2605L_proc.h:
This graph shows which files directly or indirectly include this file:

Data Structures

struct  DRV2605L_t
 DRV2605L user interface struct. More...
 

Macros

#define DRV2604_CHIP_ID   0x80U
 DRV2604 Chip ID to check against.
 
#define DRV2605_CHIP_ID   0x60U
 DRV2605 Chip ID to check against.
 
#define DRV2604L_CHIP_ID   0xA0U
 DRV2604L Chip ID to check against.
 
#define DRV2605L_CHIP_ID   0xE0U
 DRV2605L Chip ID to check against.
 

Functions

FctERR DRV2605L_Init_Sequence (void)
 Initialization Sequence for DRV2605L peripheral.
 
FctERR DRV2605L_Auto_Calib (void)
 Auto-calibration procedure for DRV2605L peripheral.
 

Variables

DRV2605L_t DRV2605L
 DRV2605L User structure.
 

Detailed Description

DRV2605L Driver procedures.

Author
SMFSW

DRV2605L: 2 to 5.2V Haptic Driver for LRA and ERM With Effect Library and Smart-Loop Architecture

Macro Definition Documentation

◆ DRV2604_CHIP_ID

#define DRV2604_CHIP_ID   0x80U

DRV2604 Chip ID to check against.

◆ DRV2604L_CHIP_ID

#define DRV2604L_CHIP_ID   0xA0U

DRV2604L Chip ID to check against.

◆ DRV2605_CHIP_ID

#define DRV2605_CHIP_ID   0x60U

DRV2605 Chip ID to check against.

◆ DRV2605L_CHIP_ID

#define DRV2605L_CHIP_ID   0xE0U

DRV2605L Chip ID to check against.

Function Documentation

◆ DRV2605L_Auto_Calib()

FctERR DRV2605L_Auto_Calib ( void )

Auto-calibration procedure for DRV2605L peripheral.

Returns
FctERR - error code
Here is the call graph for this function:

◆ DRV2605L_Init_Sequence()

FctERR DRV2605L_Init_Sequence ( void )

Initialization Sequence for DRV2605L peripheral.

Weak Functions
DRV2605L Init sequence may be user implemented if custom initialization sequence needed
Returns
FctERR - error code
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ DRV2605L

DRV2605L_t DRV2605L
extern

DRV2605L User structure.