unplugged-system/hardware/nxp/nfc/snxxx/halimpl/hal/phNxpNciHal_ULPDet.h

64 lines
2.3 KiB
C
Raw Normal View History

/*
* Copyright 2022 NXP
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <phNxpNciHal_ext.h>
/*******************************************************************************
**
** Function phNxpNciHal_isULPDetSupported()
**
** Description this function is to check ULPDet feature is supported or not
**
** Returns true or false
*******************************************************************************/
bool phNxpNciHal_isULPDetSupported();
/*******************************************************************************
**
** Function phNxpNciHal_setULPDetFlag()
**
** Description this function is called by Framework API to set ULPDet mode
** enable/disable
**
** Parameters flag - true to enable ULPDet, false to disable
**
** Returns true or false
*******************************************************************************/
void phNxpNciHal_setULPDetFlag(bool flag);
/*******************************************************************************
**
** Function phNxpNciHal_getULPDetFlag()
**
** Description this function get the ULPDet state, true if it is enabled
** false if it is disabled
**
** Returns true or false
*******************************************************************************/
bool phNxpNciHal_getULPDetFlag();
/*******************************************************************************
**
** Function phNxpNciHal_propConfULPDetMode()
**
** Description this function applies the configurations to enable/disable
** ULPDet Mode
**
** Parameters bEnable - true to enable, false to disable
**
** Returns NFCSTATUS_FAILED or NFCSTATUS_SUCCESS
*******************************************************************************/
NFCSTATUS phNxpNciHal_propConfULPDetMode(bool bEnable);