NXP_PN512_NFCReaderLibrary/NxpNfcRdLib/comps/phPlatform/src/Port/Custom/phPlatform_Port_Custom.c

56 lines
1.1 KiB
C

#include <ph_Status.h>
#ifdef NXPBUILD__PH_CUSTOM
#include <phPlatform.h>
#include <phPlatform_Port_Host.h>
#include <phhalHw_Rc523_Reg.h>
void phPlatform_Controller_Init(void) {
//
return;
}
void phPlatform_Config_FE_Device(phPlatform_DataParams_t *pHal) {
//
#ifdef NXPBUILD__PHHAL_HW_RC523
#endif
}
/* GPIO Related */
phStatus_t phPlatform_Port_Host_SetPinConfig(phPlatform_Port_Host_config_t bConfig) {
phStatus_t wStatus;
return wStatus;
}
void phPlatform_Port_Host_SetPinValue(phPlatform_Port_Host_config_t bConfig, uint8_t bVal) {
//
}
bool phPlatform_Port_Host_GetPinValue(phPlatform_Port_Host_config_t bConfig) {
//
return false;
}
void phPlatform_Port_Host_ClearInt(void) {
//
}
/* HW Timer related */
phStatus_t phPlatform_Port_Host_HwTimer_Init(void) {
//
return PH_ERR_SUCCESS;
}
phStatus_t phPlatform_Port_Host_HwTimer_Create(uint32_t dwUnits, uint8_t bTimerId, void** ppTimerHandle) {
}
phStatus_t phPlatform_Port_Host_HwTimer_Configure(void *pTimerHandle, uint32_t dwUnits, uint32_t dwTimePeriod) {
return PH_ERR_SUCCESS;
}