#define __MFXSTM32L152_H
Includes
#include "../Common/ts.h"
#include "../Common/io.h"
#include "../Common/idd.h"
Exported types
IDD_dbgTypeDef
SYS_CTRL
ERROR_SRC
ERROR_MSG
IRQ_OUT
IRQ_SRC_EN
IRQ_PENDING
IDD_CTRL
IDD_PRE_DELAY
IDD_SHUNT0_MSB
IDD_SHUNT0_LSB
IDD_SHUNT1_MSB
IDD_SHUNT1_LSB
IDD_SHUNT2_MSB
IDD_SHUNT2_LSB
IDD_SHUNT3_MSB
IDD_SHUNT3_LSB
IDD_SHUNT4_MSB
IDD_SHUNT4_LSB
IDD_GAIN_MSB
IDD_GAIN_LSB
IDD_VDD_MIN_MSB
IDD_VDD_MIN_LSB
IDD_VALUE_MSB
IDD_VALUE_MID
IDD_VALUE_LSB
IDD_CAL_OFFSET_MSB
IDD_CAL_OFFSET_LSB
IDD_SHUNT_USED
Exported constants
#define MFXSTM32L152_REG_ADR_ID
#define MFXSTM32L152_REG_ADR_FW_VERSION_MSB
#define MFXSTM32L152_REG_ADR_FW_VERSION_LSB
#define MFXSTM32L152_REG_ADR_SYS_CTRL
#define MFXSTM32L152_REG_ADR_VDD_REF_MSB
#define MFXSTM32L152_REG_ADR_VDD_REF_LSB
#define MFXSTM32L152_REG_ADR_ERROR_SRC
#define MFXSTM32L152_REG_ADR_ERROR_MSG
#define MFXSTM32L152_REG_ADR_MFX_IRQ_OUT
#define MFXSTM32L152_REG_ADR_IRQ_SRC_EN
#define MFXSTM32L152_REG_ADR_IRQ_PENDING
#define MFXSTM32L152_REG_ADR_IRQ_ACK
#define MFXSTM32L152_ID_1
#define MFXSTM32L152_ID_2
#define MFXSTM32L152_SWRST
#define MFXSTM32L152_STANDBY
#define MFXSTM32L152_ALTERNATE_GPIO_EN
#define MFXSTM32L152_IDD_EN
#define MFXSTM32L152_TS_EN
#define MFXSTM32L152_GPIO_EN
#define MFXSTM32L152_IDD_ERROR_SRC
#define MFXSTM32L152_TS_ERROR_SRC
#define MFXSTM32L152_GPIO_ERROR_SRC
#define MFXSTM32L152_OUT_PIN_TYPE_OPENDRAIN
#define MFXSTM32L152_OUT_PIN_TYPE_PUSHPULL
#define MFXSTM32L152_OUT_PIN_POLARITY_LOW
#define MFXSTM32L152_OUT_PIN_POLARITY_HIGH
#define MFXSTM32L152_IRQ_TS_OVF
#define MFXSTM32L152_IRQ_TS_FULL
#define MFXSTM32L152_IRQ_TS_TH
#define MFXSTM32L152_IRQ_TS_NE
#define MFXSTM32L152_IRQ_TS_DET
#define MFXSTM32L152_IRQ_ERROR
#define MFXSTM32L152_IRQ_IDD
#define MFXSTM32L152_IRQ_GPIO
#define MFXSTM32L152_IRQ_ALL
#define MFXSTM32L152_IRQ_TS
#define MFXSTM32L152_REG_ADR_GPIO_DIR1
#define MFXSTM32L152_REG_ADR_GPIO_DIR2
#define MFXSTM32L152_REG_ADR_GPIO_DIR3
#define MFXSTM32L152_REG_ADR_GPIO_TYPE1
#define MFXSTM32L152_REG_ADR_GPIO_TYPE2
#define MFXSTM32L152_REG_ADR_GPIO_TYPE3
#define MFXSTM32L152_REG_ADR_GPIO_PUPD1
#define MFXSTM32L152_REG_ADR_GPIO_PUPD2
#define MFXSTM32L152_REG_ADR_GPIO_PUPD3
#define MFXSTM32L152_REG_ADR_GPO_SET1
#define MFXSTM32L152_REG_ADR_GPO_SET2
#define MFXSTM32L152_REG_ADR_GPO_SET3
#define MFXSTM32L152_REG_ADR_GPO_CLR1
#define MFXSTM32L152_REG_ADR_GPO_CLR2
#define MFXSTM32L152_REG_ADR_GPO_CLR3
#define MFXSTM32L152_REG_ADR_GPIO_STATE1
#define MFXSTM32L152_REG_ADR_GPIO_STATE2
#define MFXSTM32L152_REG_ADR_GPIO_STATE3
#define MFXSTM32L152_REG_ADR_IRQ_GPI_SRC1
#define MFXSTM32L152_REG_ADR_IRQ_GPI_SRC2
#define MFXSTM32L152_REG_ADR_IRQ_GPI_SRC3
#define MFXSTM32L152_REG_ADR_IRQ_GPI_EVT1
#define MFXSTM32L152_REG_ADR_IRQ_GPI_EVT2
#define MFXSTM32L152_REG_ADR_IRQ_GPI_EVT3
#define MFXSTM32L152_REG_ADR_IRQ_GPI_TYPE1
#define MFXSTM32L152_REG_ADR_IRQ_GPI_TYPE2
#define MFXSTM32L152_REG_ADR_IRQ_GPI_TYPE3
#define MFXSTM32L152_REG_ADR_IRQ_GPI_PENDING1
#define MFXSTM32L152_REG_ADR_IRQ_GPI_PENDING2
#define MFXSTM32L152_REG_ADR_IRQ_GPI_PENDING3
#define MFXSTM32L152_REG_ADR_IRQ_GPI_ACK1
#define MFXSTM32L152_REG_ADR_IRQ_GPI_ACK2
#define MFXSTM32L152_REG_ADR_IRQ_GPI_ACK3
#define MFXSTM32L152_GPIO_PIN_0
#define MFXSTM32L152_GPIO_PIN_1
#define MFXSTM32L152_GPIO_PIN_2
#define MFXSTM32L152_GPIO_PIN_3
#define MFXSTM32L152_GPIO_PIN_4
#define MFXSTM32L152_GPIO_PIN_5
#define MFXSTM32L152_GPIO_PIN_6
#define MFXSTM32L152_GPIO_PIN_7
#define MFXSTM32L152_GPIO_PIN_8
#define MFXSTM32L152_GPIO_PIN_9
#define MFXSTM32L152_GPIO_PIN_10
#define MFXSTM32L152_GPIO_PIN_11
#define MFXSTM32L152_GPIO_PIN_12
#define MFXSTM32L152_GPIO_PIN_13
#define MFXSTM32L152_GPIO_PIN_14
#define MFXSTM32L152_GPIO_PIN_15
#define MFXSTM32L152_GPIO_PIN_16
#define MFXSTM32L152_GPIO_PIN_17
#define MFXSTM32L152_GPIO_PIN_18
#define MFXSTM32L152_GPIO_PIN_19
#define MFXSTM32L152_GPIO_PIN_20
#define MFXSTM32L152_GPIO_PIN_21
#define MFXSTM32L152_GPIO_PIN_22
#define MFXSTM32L152_GPIO_PIN_23
#define MFXSTM32L152_AGPIO_PIN_0
#define MFXSTM32L152_AGPIO_PIN_1
#define MFXSTM32L152_AGPIO_PIN_2
#define MFXSTM32L152_AGPIO_PIN_3
#define MFXSTM32L152_AGPIO_PIN_4
#define MFXSTM32L152_AGPIO_PIN_5
#define MFXSTM32L152_AGPIO_PIN_6
#define MFXSTM32L152_AGPIO_PIN_7
#define MFXSTM32L152_GPIO_PINS_ALL
#define MFXSTM32L152_GPIO_DIR_IN
#define MFXSTM32L152_GPIO_DIR_OUT
#define MFXSTM32L152_IRQ_GPI_EVT_LEVEL
#define MFXSTM32L152_IRQ_GPI_EVT_EDGE
#define MFXSTM32L152_IRQ_GPI_TYPE_LLFE
#define MFXSTM32L152_IRQ_GPI_TYPE_HLRE
#define MFXSTM32L152_GPI_WITHOUT_PULL_RESISTOR
#define MFXSTM32L152_GPI_WITH_PULL_RESISTOR
#define MFXSTM32L152_GPO_PUSH_PULL
#define MFXSTM32L152_GPO_OPEN_DRAIN
#define MFXSTM32L152_GPIO_PULL_DOWN
#define MFXSTM32L152_GPIO_PULL_UP
#define MFXSTM32L152_TS_SETTLING
#define MFXSTM32L152_TS_TOUCH_DET_DELAY
#define MFXSTM32L152_TS_AVE
#define MFXSTM32L152_TS_TRACK
#define MFXSTM32L152_TS_FIFO_TH
#define MFXSTM32L152_TS_FIFO_STA
#define MFXSTM32L152_TS_FIFO_LEVEL
#define MFXSTM32L152_TS_XY_DATA
#define MFXSTM32L152_TS_CTRL_STATUS
#define MFXSTM32L152_TS_CLEAR_FIFO
#define MFXSTM32L152_REG_ADR_IDD_CTRL
#define MFXSTM32L152_REG_ADR_IDD_PRE_DELAY
#define MFXSTM32L152_REG_ADR_IDD_SHUNT0_MSB
#define MFXSTM32L152_REG_ADR_IDD_SHUNT0_LSB
#define MFXSTM32L152_REG_ADR_IDD_SHUNT1_MSB
#define MFXSTM32L152_REG_ADR_IDD_SHUNT1_LSB
#define MFXSTM32L152_REG_ADR_IDD_SHUNT2_MSB
#define MFXSTM32L152_REG_ADR_IDD_SHUNT2_LSB
#define MFXSTM32L152_REG_ADR_IDD_SHUNT3_MSB
#define MFXSTM32L152_REG_ADR_IDD_SHUNT3_LSB
#define MFXSTM32L152_REG_ADR_IDD_SHUNT4_MSB
#define MFXSTM32L152_REG_ADR_IDD_SHUNT4_LSB
#define MFXSTM32L152_REG_ADR_IDD_GAIN_MSB
#define MFXSTM32L152_REG_ADR_IDD_GAIN_LSB
#define MFXSTM32L152_REG_ADR_IDD_VDD_MIN_MSB
#define MFXSTM32L152_REG_ADR_IDD_VDD_MIN_LSB
#define MFXSTM32L152_REG_ADR_IDD_VALUE_MSB
#define MFXSTM32L152_REG_ADR_IDD_VALUE_MID
#define MFXSTM32L152_REG_ADR_IDD_VALUE_LSB
#define MFXSTM32L152_REG_ADR_IDD_CAL_OFFSET_MSB
#define MFXSTM32L152_REG_ADR_IDD_CAL_OFFSET_LSB
#define MFXSTM32L152_REG_ADR_IDD_SHUNT_USED
#define MFXSTM32L152_REG_ADR_IDD_SH0_STABILIZATION
#define MFXSTM32L152_REG_ADR_IDD_SH1_STABILIZATION
#define MFXSTM32L152_REG_ADR_IDD_SH2_STABILIZATION
#define MFXSTM32L152_REG_ADR_IDD_SH3_STABILIZATION
#define MFXSTM32L152_REG_ADR_IDD_SH4_STABILIZATION
#define MFXSTM32L152_REG_ADR_IDD_NBR_OF_MEAS
#define MFXSTM32L152_REG_ADR_IDD_MEAS_DELTA_DELAY
#define MFXSTM32L152_REG_ADR_IDD_SHUNTS_ON_BOARD
#define MFXSTM32L152_IDD_CTRL_REQ
#define MFXSTM32L152_IDD_CTRL_SHUNT_NB
#define MFXSTM32L152_IDD_CTRL_VREF_DIS
#define MFXSTM32L152_IDD_CTRL_CAL_DIS
#define MFXSTM32L152_IDD_SHUNT_NB_1
#define MFXSTM32L152_IDD_SHUNT_NB_2
#define MFXSTM32L152_IDD_SHUNT_NB_3
#define MFXSTM32L152_IDD_SHUNT_NB_4
#define MFXSTM32L152_IDD_SHUNT_NB_5
#define MFXSTM32L152_IDD_VREF_AUTO_MEASUREMENT_ENABLE
#define MFXSTM32L152_IDD_VREF_AUTO_MEASUREMENT_DISABLE
#define MFXSTM32L152_IDD_AUTO_CALIBRATION_ENABLE
#define MFXSTM32L152_IDD_AUTO_CALIBRATION_DISABLE
#define MFXSTM32L152_IDD_PREDELAY_UNIT
#define MFXSTM32L152_IDD_PREDELAY_VALUE
#define MFXSTM32L152_IDD_PREDELAY_0_5_MS
#define MFXSTM32L152_IDD_PREDELAY_20_MS
#define MFXSTM32L152_IDD_DELTADELAY_UNIT
#define MFXSTM32L152_IDD_DELTADELAY_VALUE
#define MFXSTM32L152_IDD_DELTADELAY_0_5_MS
#define MFXSTM32L152_IDD_DELTADELAY_20_MS
Exported macro
mfxstm32l152_Init(uint16_t);
mfxstm32l152_DeInit(uint16_t);
mfxstm32l152_Reset(uint16_t);
mfxstm32l152_ReadID(uint16_t);
mfxstm32l152_ReadFwVersion(uint16_t);
mfxstm32l152_LowPower(uint16_t);
mfxstm32l152_WakeUp(uint16_t);
mfxstm32l152_EnableITSource(uint16_t, uint8_t);
mfxstm32l152_DisableITSource(uint16_t, uint8_t);
mfxstm32l152_GlobalITStatus(uint16_t, uint8_t);
mfxstm32l152_ClearGlobalIT(uint16_t, uint8_t);
mfxstm32l152_SetIrqOutPinPolarity(uint16_t, uint8_t);
mfxstm32l152_SetIrqOutPinType(uint16_t, uint8_t);
mfxstm32l152_IO_Start(uint16_t, uint32_t);
mfxstm32l152_IO_Config(uint16_t, uint32_t, IO_ModeTypedef);
mfxstm32l152_IO_WritePin(uint16_t, uint32_t, uint8_t);
mfxstm32l152_IO_ReadPin(uint16_t, uint32_t);
mfxstm32l152_IO_EnableIT(uint16_t);
mfxstm32l152_IO_DisableIT(uint16_t);
mfxstm32l152_IO_ITStatus(uint16_t, uint32_t);
mfxstm32l152_IO_ClearIT(uint16_t, uint32_t);
mfxstm32l152_IO_InitPin(uint16_t, uint32_t, uint8_t);
mfxstm32l152_IO_EnableAF(uint16_t);
mfxstm32l152_IO_DisableAF(uint16_t);
mfxstm32l152_IO_SetIrqTypeMode(uint16_t, uint32_t, uint8_t);
mfxstm32l152_IO_SetIrqEvtMode(uint16_t, uint32_t, uint8_t);
mfxstm32l152_IO_EnablePinIT(uint16_t, uint32_t);
mfxstm32l152_IO_DisablePinIT(uint16_t, uint32_t);
mfxstm32l152_TS_Start(uint16_t);
mfxstm32l152_TS_DetectTouch(uint16_t);
mfxstm32l152_TS_GetXY(uint16_t, uint16_t *, uint16_t *);
mfxstm32l152_TS_EnableIT(uint16_t);
mfxstm32l152_TS_DisableIT(uint16_t);
mfxstm32l152_TS_ITStatus(uint16_t);
mfxstm32l152_TS_ClearIT(uint16_t);
mfxstm32l152_IDD_Start(uint16_t);
mfxstm32l152_IDD_Config(uint16_t, IDD_ConfigTypeDef);
mfxstm32l152_IDD_ConfigShuntNbLimit(uint16_t, uint8_t);
mfxstm32l152_IDD_GetValue(uint16_t, uint32_t *);
mfxstm32l152_IDD_GetShuntUsed(uint16_t);
mfxstm32l152_IDD_EnableIT(uint16_t);
mfxstm32l152_IDD_ClearIT(uint16_t);
mfxstm32l152_IDD_GetITStatus(uint16_t);
mfxstm32l152_IDD_DisableIT(uint16_t);
mfxstm32l152_Error_ReadSrc(uint16_t);
mfxstm32l152_Error_ReadMsg(uint16_t);
mfxstm32l152_Error_EnableIT(uint16_t);
mfxstm32l152_Error_ClearIT(uint16_t);
mfxstm32l152_Error_GetITStatus(uint16_t);
mfxstm32l152_Error_DisableIT(uint16_t);
mfxstm32l152_ReadReg(uint16_t, uint8_t);
mfxstm32l152_WriteReg(uint16_t, uint8_t, uint8_t);
MFX_IO_Init();
MFX_IO_DeInit();
MFX_IO_ITConfig();
MFX_IO_EnableWakeupPin();
MFX_IO_Wakeup();
MFX_IO_Delay(uint32_t);
MFX_IO_Write(uint16_t, uint8_t, uint8_t);
MFX_IO_Read(uint16_t, uint8_t);
MFX_IO_ReadMultiple(uint16_t, uint8_t, uint8_t *, uint16_t);
mfxstm32l152_ts_drv;
mfxstm32l152_io_drv;
mfxstm32l152_idd_drv;