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

AT42QT1244 Driver. More...

#include "AT42QT1244.h"
#include "tick_utils.h"
Include dependency graph for AT42QT1244.c:

Functions

FctERR AT42QT1244_Init (const uint8_t idx, I2C_HandleTypeDef *const hi2c, const uint16_t devAddress)
 Initialization for AT42QT1244 peripheral.
 
FctERR AT42QT1244_Init_Single (void)
 Initialization for AT42QT1244 peripheral.
 
FctERR AT42QT1244_Write (I2C_slave_t *const pSlave, const uint8_t *data, const uint16_t addr, const uint16_t nb)
 I2C Write function for AT42QT1244.
 
FctERR AT42QT1244_Read (I2C_slave_t *const pSlave, uint8_t *data, const uint16_t addr, const uint16_t nb)
 I2C Read function for AT42QT1244.
 

Detailed Description

AT42QT1244 Driver.

Author
SMFSW

AT42QT1244: 24-key QMatrix FMEA IEC/EN/UL60730 Touch Sensor

Function Documentation

◆ AT42QT1244_Init()

FctERR AT42QT1244_Init ( const uint8_t idx,
I2C_HandleTypeDef *const hi2c,
const uint16_t devAddress )

Initialization for AT42QT1244 peripheral.

Parameters
[in]idx- AT42QT1244 index
[in]hi2c- pointer to AT42QT1244 I2C instance
[in]devAddress- AT42QT1244 device address
Returns
FctERR - error code
Here is the call graph for this function:
Here is the caller graph for this function:

◆ AT42QT1244_Init_Single()

FctERR AT42QT1244_Init_Single ( void )

Initialization for AT42QT1244 peripheral.

Warning
In case multiple devices (defined by I2C_AT42QT1244_NB > 1), you shall use AT42QT1244_Init instead
Returns
FctERR - error code
Here is the call graph for this function:

◆ AT42QT1244_Read()

FctERR AT42QT1244_Read ( I2C_slave_t *const pSlave,
uint8_t * data,
const uint16_t addr,
const uint16_t nb )

I2C Read function for AT42QT1244.

Parameters
[in,out]pSlave- Pointer to I2C slave instance
[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:

◆ AT42QT1244_Write()

FctERR AT42QT1244_Write ( I2C_slave_t *const pSlave,
const uint8_t * data,
const uint16_t addr,
const uint16_t nb )

I2C Write function for AT42QT1244.

Parameters
[in,out]pSlave- Pointer to I2C slave instance
[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: