Part Number: TMS320F28027
Other Parts Discussed in Thread: MOTORWARE
Tool/software: Code Composer Studio
Hi Team,
I am using Motorware .
I got to work my program of getting frequency on GPIO19 using CAP module.
Now the problem is I try to get Register value in to defined global variable.
Basically i am looking for the bit0 of the flag which is interrupt status bit.
But it is not reflecting in it.
I have tried with below methods:
1) attached cap.h file
CAP_Handle myCap; uint16_t TstStructAccess = myCap->ECEFLG; uint16_t Tst5 = (myCap->ECEFLG) & 0xFFFF;
2)
uint16_t one_pulse_time = CAP_getECEFLAG(myCap);