23 lines
693 B
C
Executable File
23 lines
693 B
C
Executable File
#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
|
|
//##############################################################################
|
|
|