芯片CS5463使用的问题,如何读取有功功率?
msp430吧
全部回复
仅看楼主
level 7
wylloong 楼主
使用CS5463这款芯片,遇到读不出有功功率和视在功率的问题,求大神说说如何读取?附上我的代码……
2013年09月05日 03点09分 1
level 7
wylloong 楼主
//引脚定义
#define RESET_1 P4OUT|=BIT2;
#define RESET_0 P4OUT&=~BIT2;
#define SDI_1 P4OUT|=BIT3;
#define SDI_0 P4OUT&=~BIT3;
#define CS_1 P4OUT|=BIT4;
#define CS_0 P4OUT&=~BIT4;
#define SCLK_1 P4OUT|=BIT5;
#define SCLK_0 P4OUT&=~BIT5;
#define DQ_val (P4IN&BIT1)
2013年09月05日 03点09分 2
level 7
wylloong 楼主
2013年09月05日 03点09分 3
1