用f149单片机Timer_A捕获模块测量某脉冲信号高电平时间。不知哪里出错了?
#include\"msp430x14x.h\"#include\"Cry12864.h\"#include\"BoardConfig.h\"//开发板系统配置函数#defineRISE0#defineFALL1ucharEdage=0;//当前触发沿uintTA_OverflowCnt;unsignedlongintRiseCapVal;unsignedlongintPeriod;unsignedlongintFreq;ucharhan