Add portable NFC module

This commit is contained in:
2026-07-20 10:48:38 +08:00
commit 4ed123f87c
25 changed files with 3965 additions and 0 deletions

25
nfc/vendor/dp1312ea/LPCD.h vendored Normal file
View File

@@ -0,0 +1,25 @@
#ifndef __LPCD_H
#define __LPCD_H
#include "reg.h"
void write_Lpcd_reg(u8 reg,u8 value);
u8 read_Lpcd_reg(u8 reg);
u8 Read_Q_Channel(void);
u8 Read_I_Channel(void);
void set_I_Q_threshold(u8 I_value,u8 Q_value);
void DP1312EA_LPCD_Start(void);
u8 DP1312EA_CLEAR_IRQ(void);
void DP1312EA_Check_Card(void);
void Clear_lpcd_irq(void);
void DP1312EA_LPCD_Stop(void);
#endif
/***********************************************END*******************************************************/