NULL
This commit is contained in:
28
user/Device/CAT5171.h
Executable file
28
user/Device/CAT5171.h
Executable file
@@ -0,0 +1,28 @@
|
||||
//##############################################################################
|
||||
#if(ENABLE_USE_CAT5171)
|
||||
//##############################################################################
|
||||
|
||||
#ifndef __CAT5171_H__
|
||||
#define __CAT5171_H__
|
||||
|
||||
#define CAT5171_ADDR 0x58
|
||||
|
||||
#define POT_MAX 255
|
||||
#define POT_MID 128
|
||||
|
||||
//#define CTYPE_POT 0
|
||||
//#define ATYPE_POT BIT1
|
||||
|
||||
//#define RS BIT6
|
||||
//#define SHOT_DOWN BIT5
|
||||
|
||||
|
||||
void DigitalPotOutput(u16 PotCHN, u16 PotData);
|
||||
u8 ReadDigitalPotWiper(u16 PotCHN);
|
||||
void DigitalPotLowPower(u16 PotCHN);
|
||||
#endif
|
||||
|
||||
//##############################################################################
|
||||
#endif
|
||||
//##############################################################################
|
||||
|
||||
Reference in New Issue
Block a user