|
I2C_Drivers (ARM) 1.1
SMFSW collection of HAL I2C Drivers for ARM
|
AT42QT1244 Driver extensions. More...


Data Structures | |
| union | uAT42QT_REG_MAP |
| Union of AT42QT1244 registry map. More... | |
Functions | |
| FctERR | AT42QT1244_Send_Command (AT42QT1244_t *const pCpnt, const AT42QT_cmd cmd) |
| Send command to AT42QT1244 peripheral. | |
| FctERR | AT42QT1244_Send_Setup (AT42QT1244_t *const pCpnt, uint16_t *const hcrc, const uint8_t *setup, const uint8_t addr, const uint8_t nb) |
| Send setup parameters to AT42QT1244 peripheral. | |
| FctERR | AT42QT1244_Setup_Keys (AT42QT1244_t *const pCpnt, uint16_t *const hcrc, const uint32_t mask_keys, const bool use) |
| Key use setup for AT42QT1244 peripheral. | |
| FctERR | AT42QT1244_Setup_FHM (AT42QT1244_t *const pCpnt, uint16_t *const hcrc, const AT42QT_FHM FHM) |
| Frequency hopping mode setup for AT42QT1244 peripheral. | |
| FctERR | AT42QT1244_Reset (AT42QT1244_t *const pCpnt) |
| Reset command for AT42QT1244 peripheral. | |
| FctERR | AT42QT1244_Get_Keys (AT42QT1244_t *const pCpnt, uint32_t *Keys) |
| Get keys detect status for AT42QT1244 peripheral. | |
| FctERR | AT42QT1244_Get_Key_Data (AT42QT1244_t *const pCpnt, uAT42QT_REG__KEY_DATA *Key_Data, const uint8_t Key_Num) |
| Get key data for AT42QT1244 peripheral. | |
| FctERR | AT42QT1244_Get_Status (AT42QT1244_t *const pCpnt, uAT42QT_REG__DEVICE_STATUS *st) |
| Get status of AT42QT1244 peripheral. | |
| bool | AT42QT1244_is_Calib_Pending (AT42QT1244_t *const pCpnt) |
| Get calibration status for AT42QT1244 peripheral. | |
| void | AT42QT1244_CHANGE_GPIO_Init (AT42QT1244_t *const pCpnt, GPIO_TypeDef *const GPIOx, const uint16_t GPIO_Pin, const GPIO_PinState GPIO_Active) |
| Change GPIO pin init for AT42QT1244. | |
| bool | AT42QT1244_CHANGE_GPIO_Get (const AT42QT1244_t *const pCpnt) |
| Change GPIO pin getter for AT42QT1244. | |
| void | AT42QT1244_RST_GPIO_Init (AT42QT1244_t *const pCpnt, GPIO_TypeDef *const GPIOx, const uint16_t GPIO_Pin, const GPIO_PinState GPIO_Active) |
| Reset GPIO pin init for AT42QT1244. | |
| void | AT42QT1244_RST_GPIO_Set (AT42QT1244_t *const pCpnt, const bool state) |
| Reset GPIO pin setter for AT42QT1244. | |
AT42QT1244 Driver extensions.
AT42QT1244: 24-key QMatrix FMEA IEC/EN/UL60730 Touch Sensor
| bool AT42QT1244_CHANGE_GPIO_Get | ( | const AT42QT1244_t *const | pCpnt | ) |
Change GPIO pin getter for AT42QT1244.
| [in] | pCpnt | - Pointer to AT42QT1244 component |


| void AT42QT1244_CHANGE_GPIO_Init | ( | AT42QT1244_t *const | pCpnt, |
| GPIO_TypeDef *const | GPIOx, | ||
| const uint16_t | GPIO_Pin, | ||
| const GPIO_PinState | GPIO_Active ) |
Change GPIO pin init for AT42QT1244.
| [in] | pCpnt | - Pointer to AT42QT1244 component |
| [in] | GPIOx | - CHANGE port |
| [in] | GPIO_Pin | - CHANGE pin |
| [in] | GPIO_Active | CHANGE pin active state |

|
inline |
Get key data for AT42QT1244 peripheral.
| [in] | pCpnt | - Pointer to AT42QT1244 component |
| [in] | Key_Data | - Pointer to key data result |
| [in] | Key_Num | - Key to get datas |


| FctERR AT42QT1244_Get_Keys | ( | AT42QT1244_t *const | pCpnt, |
| uint32_t * | Keys ) |
Get keys detect status for AT42QT1244 peripheral.
| [in] | pCpnt | - Pointer to AT42QT1244 component |
| [in] | Keys | - Pointer to keys result |


|
inline |
Get status of AT42QT1244 peripheral.
| [in] | pCpnt | - Pointer to AT42QT1244 component |
| [in] | st | - Pointer to peripheral status result |


| bool AT42QT1244_is_Calib_Pending | ( | AT42QT1244_t *const | pCpnt | ) |
Get calibration status for AT42QT1244 peripheral.
| [in] | pCpnt | - Pointer to AT42QT1244 component |


| FctERR AT42QT1244_Reset | ( | AT42QT1244_t *const | pCpnt | ) |
Reset command for AT42QT1244 peripheral.
| [in] | pCpnt | - Pointer to AT42QT1244 component |

| void AT42QT1244_RST_GPIO_Init | ( | AT42QT1244_t *const | pCpnt, |
| GPIO_TypeDef *const | GPIOx, | ||
| const uint16_t | GPIO_Pin, | ||
| const GPIO_PinState | GPIO_Active ) |
Reset GPIO pin init for AT42QT1244.
| [in] | pCpnt | - Pointer to AT42QT1244 component |
| [in] | GPIOx | - RST port |
| [in] | GPIO_Pin | - RST pin |
| [in] | GPIO_Active | RST pin active state |

| void AT42QT1244_RST_GPIO_Set | ( | AT42QT1244_t *const | pCpnt, |
| const bool | state ) |
Reset GPIO pin setter for AT42QT1244.
| [in] | pCpnt | - Pointer to AT42QT1244 component |
| [in] | state | - state to write on RST pin (0: inactive, 1: active) |

| FctERR AT42QT1244_Send_Command | ( | AT42QT1244_t *const | pCpnt, |
| const AT42QT_cmd | cmd ) |
Send command to AT42QT1244 peripheral.
| [in] | pCpnt | - Pointer to AT42QT1244 component |
| [in] | cmd | - Command to send |


| FctERR AT42QT1244_Send_Setup | ( | AT42QT1244_t *const | pCpnt, |
| uint16_t *const | hcrc, | ||
| const uint8_t * | setup, | ||
| const uint8_t | addr, | ||
| const uint8_t | nb ) |
Send setup parameters to AT42QT1244 peripheral.
| [in] | pCpnt | - Pointer to AT42QT1244 component |
| [in,out] | hcrc | - Pointer to resulting CRC value |
| [in] | setup | - Parameters to send |
| [in] | addr | - Setup address in AT42QT1244 peripheral |
| [in] | nb | - Number of setup values to send |


| FctERR AT42QT1244_Setup_FHM | ( | AT42QT1244_t *const | pCpnt, |
| uint16_t *const | hcrc, | ||
| const AT42QT_FHM | FHM ) |
Frequency hopping mode setup for AT42QT1244 peripheral.
| [in] | pCpnt | - Pointer to AT42QT1244 component |
| [in,out] | hcrc | - Pointer to resulting CRC value |
| [in] | FHM | - Frequency hopping mode parameters |


| FctERR AT42QT1244_Setup_Keys | ( | AT42QT1244_t *const | pCpnt, |
| uint16_t *const | hcrc, | ||
| const uint32_t | mask_keys, | ||
| const bool | use ) |
Key use setup for AT42QT1244 peripheral.
| [in] | pCpnt | - Pointer to AT42QT1244 component |
| [in,out] | hcrc | - Pointer to resulting CRC value |
| [in] | mask_keys | - mask for keys to configure |
| [in] | use | - Key enabled/disabled |
