Initial import of NFC GNSS SDK project

This commit is contained in:
chenjintao
2026-09-15 16:10:12 +08:00
commit 2746cc3d4e
3070 changed files with 892062 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
#ifndef _DM_PM812_H_
#define _DM_PM812_H_
#define PMIC_812 0x6 /* PM812: 0x64 */
/* PM812 I2c address*/
#define PM812_WRITE_BASE_SLAVE_ADDRESS 0x60
#define PM812_READ_BASE_SLAVE_ADDRESS 0x61
#define PM812_WRITE_POWER_SLAVE_ADDRESS 0x62
#define PM812_READ_POWER_SLAVE_ADDRESS 0x63
#define PM812_WRITE_GPADC_SLAVE_ADDRESS 0x64
#define PM812_READ_GPADC_SLAVE_ADDRESS 0x65
/* There are 3 I2C Address for PM812. */
typedef enum {
PM812_BASE_Reg,
PM812_POWER_Reg,
PM812_GPADC_Reg
} pm812RegTypeE;
#endif /* _DM_PM812_H_ */