capture full flag

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hi,

I'm not sure, what does "full flag" mean in external capture?
0 Likes
3 Replies
chismo
Employee
Employee
First like received
Hello,

The full flag CC4yCxV.FFL is used to indicate if a new value is captured into the capture value bit field CC4yCxV.CAPTV, i.e. whether this field is full or empty.

Regards,
Min Wei
0 Likes
Not applicable
I have uploaded a small picture.
(17.5) is when copying reg1 to reg0? (SCE=0)

1446.attach
0 Likes
chismo
Employee
Employee
First like received
The 2 equations are the conditions whereby the capture into the respective registers can take place.

For example, equation (17.5) means that a capture into CC4yC0V can take place only if both of the following are true:
1) CC4yC1V contains already a previously captured value as indicated by the full flag = 1.
2) CC4yC0V is still empty, full flag = 0.

For the above to happen, the scenario could be:
- 1st capture trigger loads the timer value into CC4yC1V.
- CC4yC1V is not read by the time the 2nd capture trigger occurs.
- 2nd capture trigger causes the chain reaction whereby CC4yC1V value is loaded into CC4yC0V, and the new timer value is loaded into CC4yC1V.

Note that if CC4yC1V is read before the 2nd capture trigger, the latter will only load the new timer value into CC4yC1V. CC4yC0V remains 0.
0 Likes