|
I2C_Drivers (ARM) 1.1
SMFSW collection of HAL I2C Drivers for ARM
|
MTCH6102 Driver extensions. More...
#include "MTCH6102.h"
Functions | |
| FctERR | MTCH6102_Set_Mode (const MTCH6102_t *const pCpnt, const MTCH6102_MODE mode) |
| Set MTCH6102 gesture decoding. | |
| FctERR | MTCH6102_Command (const MTCH6102_t *const pCpnt, const MTCH6102_COMMAND cmd) |
| Execute MTCH6102 command. | |
| FctERR | MTCH6102_Set_Active_Period (const MTCH6102_t *const pCpnt, const uint16_t period) |
| Set MTCH6102 active period. | |
| FctERR | MTCH6102_Set_Idle_Period (const MTCH6102_t *const pCpnt, const uint16_t period) |
| Set MTCH6102 idle period. | |
| FctERR | MTCH6102_Get_Active_Period (const MTCH6102_t *const pCpnt, uint16_t *const period) |
| Get MTCH6102 Active period. | |
| FctERR | MTCH6102_Get_Idle_Period (const MTCH6102_t *const pCpnt, uint16_t *const period) |
| Get MTCH6102 Idle period. | |
| FctERR | MTCH6102_Set_Filter (const MTCH6102_t *const pCpnt, const MTCH6102_FILTER_TYPE type, const uint8_t strength, const bool baseline_filter) |
| Set MTCH6102 raw acquisition filter. | |
| void | MTCH6102_INT_GPIO_Init (MTCH6102_t *const pCpnt, GPIO_TypeDef *const GPIOx, const uint16_t GPIO_Pin, const GPIO_PinState GPIO_Active) |
| Interrupt GPIO pin init for MTCH6102. | |
| bool | MTCH6102_INT_GPIO_Get (const MTCH6102_t *const pCpnt) |
| Interrupt GPIO pin getter for MTCH6102. | |
| void | MTCH6102_SYNC_GPIO_Init (MTCH6102_t *const pCpnt, GPIO_TypeDef *const GPIOx, const uint16_t GPIO_Pin, const GPIO_PinState GPIO_Active) |
| Synchro GPIO pin init for MTCH6102. | |
| bool | MTCH6102_SYNC_GPIO_Get (const MTCH6102_t *const pCpnt) |
| Synchro GPIO pin getter for MTCH6102. | |
MTCH6102 Driver extensions.
MTCH6102: Low-Power Projected Capacitive Touch Controller
| FctERR MTCH6102_Command | ( | const MTCH6102_t *const | pCpnt, |
| const MTCH6102_COMMAND | cmd ) |
Execute MTCH6102 command.
| [in] | pCpnt | - Pointer to MTCH6102 component |
| [in] | cmd | - Command to execute |


| FctERR MTCH6102_Get_Active_Period | ( | const MTCH6102_t *const | pCpnt, |
| uint16_t *const | period ) |
Get MTCH6102 Active period.
| [in] | pCpnt | - Pointer to MTCH6102 component |
| [in] | period | - Pointer to active period result |

| FctERR MTCH6102_Get_Idle_Period | ( | const MTCH6102_t *const | pCpnt, |
| uint16_t *const | period ) |
Get MTCH6102 Idle period.
| [in] | pCpnt | - Pointer to MTCH6102 component |
| [in] | period | - Pointer to idle period result |

| bool MTCH6102_INT_GPIO_Get | ( | const MTCH6102_t *const | pCpnt | ) |
Interrupt GPIO pin getter for MTCH6102.
| [in] | pCpnt | - Pointer to MTCH6102 component |


| void MTCH6102_INT_GPIO_Init | ( | MTCH6102_t *const | pCpnt, |
| GPIO_TypeDef *const | GPIOx, | ||
| const uint16_t | GPIO_Pin, | ||
| const GPIO_PinState | GPIO_Active ) |
Interrupt GPIO pin init for MTCH6102.
| [in] | pCpnt | - Pointer to MTCH6102 component |
| [in] | GPIOx | - INT port |
| [in] | GPIO_Pin | - INT pin |
| [in] | GPIO_Active | INT pin active state |

| FctERR MTCH6102_Set_Active_Period | ( | const MTCH6102_t *const | pCpnt, |
| const uint16_t | period ) |
Set MTCH6102 active period.
| [in] | pCpnt | - Pointer to MTCH6102 component |
| [in] | period | - Active period |

| FctERR MTCH6102_Set_Filter | ( | const MTCH6102_t *const | pCpnt, |
| const MTCH6102_FILTER_TYPE | type, | ||
| const uint8_t | strength, | ||
| const bool | baseline_filter ) |
Set MTCH6102 raw acquisition filter.
| [in] | pCpnt | - Pointer to MTCH6102 component |
| [in] | type | - Filter type |
| [in] | strength | - Filter strength |
| [in] | baseline_filter | - 0: Acquisition filter, 1: Baseline filter |

| FctERR MTCH6102_Set_Idle_Period | ( | const MTCH6102_t *const | pCpnt, |
| const uint16_t | period ) |
Set MTCH6102 idle period.
| [in] | pCpnt | - Pointer to MTCH6102 component |
| [in] | period | - Idle period |

| FctERR MTCH6102_Set_Mode | ( | const MTCH6102_t *const | pCpnt, |
| const MTCH6102_MODE | mode ) |
Set MTCH6102 gesture decoding.
| [in] | pCpnt | - Pointer to MTCH6102 component |
| [in] | mode | - Gesture decoding mode |


| bool MTCH6102_SYNC_GPIO_Get | ( | const MTCH6102_t *const | pCpnt | ) |
Synchro GPIO pin getter for MTCH6102.
| [in] | pCpnt | - Pointer to MTCH6102 component |

| void MTCH6102_SYNC_GPIO_Init | ( | MTCH6102_t *const | pCpnt, |
| GPIO_TypeDef *const | GPIOx, | ||
| const uint16_t | GPIO_Pin, | ||
| const GPIO_PinState | GPIO_Active ) |
Synchro GPIO pin init for MTCH6102.
| [in] | pCpnt | - Pointer to MTCH6102 component |
| [in] | GPIOx | - SYNC port |
| [in] | GPIO_Pin | - SYNC pin |
| [in] | GPIO_Active | SYNC pin active state |
