Initial import of NFC GNSS SDK project
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
#ifndef __drv_DP1312EA_H
|
||||
#define __drv_DP1312EA_H
|
||||
|
||||
#include "nfc.h"
|
||||
#include "reg.h"
|
||||
|
||||
void DP1312EA_SetBitMask(u8 reg,u8 mask);
|
||||
void DP1312EA_ClearBitMask(u8 reg,u8 mask);
|
||||
void DP1312EA_WriteRawRC(u8 Address, u8 value);
|
||||
u8 DP1312EA_ReadRawRC(u8 Address);
|
||||
|
||||
void Check_Chip(void);
|
||||
void DP1312EA_Reset(void);
|
||||
s8 DP1312EA_PcdComTransceive(struct TranSciveBuffer *pi);
|
||||
void DP1312EA_WriteFIFO(uint8_t *data, uint8_t len);
|
||||
void DP1312EA_ReadFIFO(uint8_t *buf, uint8_t len);
|
||||
|
||||
void DP1312EA_FieldOn(void);
|
||||
void DP1312EA_FieldOff(void);
|
||||
|
||||
|
||||
void I2C_Start(void);
|
||||
void I2C_Stop(void);
|
||||
u8 I2C_Write(u8 dat);
|
||||
u8 I2C_Read(u8 ACK);
|
||||
void I2c_NAck(void);
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
/***********************************************END*******************************************************/
|
||||
|
||||
Reference in New Issue
Block a user