This commit is contained in:
2026-03-20 21:16:58 +08:00
parent 286ff98b8e
commit 90c3d919df
248 changed files with 94554 additions and 0 deletions

22
user/Device/TPL0501.h Executable file
View File

@@ -0,0 +1,22 @@
#ifndef __TPL0501_H__
#define __TPL0501_H__
//##############################################################################
#if(ENABLE_USE_TPL0501)
//##############################################################################
#define CTYPE_POT 0
#define ATYPE_POT BIT1
#define POT_MAX 255
#define POT_DEFAULT 128
void DigitalPotOutput(unsigned int PotCHN, unsigned int PotData);
void DigitalPotLowPower(void);
unsigned char DigitalPotRead(unsigned int PotCHN);
#endif
//##############################################################################
#endif
//##############################################################################