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

DRV2605L Driver. More...

#include "DRV2605L.h"
Include dependency graph for DRV2605L.c:

Functions

FctERR DRV2605L_Init (void)
 Initialization for DRV2605L peripheral.
 
FctERR DRV2605L_Write (const uint8_t *data, const uint16_t addr, const uint16_t nb)
 I2C Write function for DRV2605L.
 
FctERR DRV2605L_Read (uint8_t *data, const uint16_t addr, const uint16_t nb)
 I2C Read function for DRV2605L.
 

Detailed Description

DRV2605L Driver.

Author
SMFSW

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

Function Documentation

◆ DRV2605L_Init()

FctERR DRV2605L_Init ( void )

Initialization for DRV2605L peripheral.

Weak Functions
DRV2605L Base address may be changed if user implemented
Returns
FctERR - error code
Here is the call graph for this function:

◆ DRV2605L_Read()

FctERR DRV2605L_Read ( uint8_t * data,
const uint16_t addr,
const uint16_t nb )

I2C Read function for DRV2605L.

Parameters
[in,out]data- pointer to read to
[in]addr- Address to read from
[in]nb- Number of bytes to read
Returns
FctERR - error code
Here is the call graph for this function:
Here is the caller graph for this function:

◆ DRV2605L_Write()

FctERR DRV2605L_Write ( const uint8_t * data,
const uint16_t addr,
const uint16_t nb )

I2C Write function for DRV2605L.

Parameters
[in]data- pointer to write from
[in]addr- Address to write to
[in]nb- Number of bytes to write
Returns
FctERR - error code
Here is the call graph for this function:
Here is the caller graph for this function: