MCUXpresso_LPC804/boards/lpcxpresso804/touch_examples/capt_key/touch_hal.h
Yilin Sun e468131146
Initial commit v2.13.0
Signed-off-by: Yilin Sun <imi415@imi.moe>
2023-05-25 15:51:41 +08:00

43 lines
1.2 KiB
C

/*
* Copyright 2020 NXP
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __TOUCH_HAL_H__
#define __TOUCH_HAL_H__
/*******************************************************************************
* Definitions
******************************************************************************/
/*******************************************************************************
* Prototypes
******************************************************************************/
/*******************************************************************************
* Variables
******************************************************************************/
/*******************************************************************************
* API
******************************************************************************/
#if defined(__cplusplus)
extern "C" {
#endif /* __cplusplus*/
/* Initialize the CAPT. */
void TOUCH_HAL_Init(void);
/* Wait and save CAPT data to the array rawData. */
void TOUCH_HAL_WaitDataReady(int16_t rawData[]);
void TOUCH_HAL_CAPT_IRQHandler(void);
#if defined(__cplusplus)
}
#endif /* __cplusplus*/
#endif /* __TOUCH_HAL_H__ */