R6 = MINCII (z);
w[P5] = R6;
/* insert min count handler here */
_IVG11_handler.counter.min_count.end:
_IVG11_handler.counter.max_count:
CC = bittst(R5, bitpos(MAXCII));
IF !CC JUMP _IVG11_handler.counter.b31_overflow;
/* Clear the serviced request */
R6 = MAXCII (z);
w[P5] = R6;
/* insert max count handler here */
_IVG11_handler.counter.max_count.end:
_IVG11_handler.counter.b31_overflow:
CC = bittst(R5, bitpos(COV31II));
IF !CC JUMP _IVG11_handler.counter.b15_overflow;
/* Clear the serviced request */
R6 = COV31II (z);
w[P5] = R6;
/* insert bit 31 overflow handler here */
_IVG11_handler.counter.b31_overflow.end:
_IVG11_handler.counter.b15_overflow:
CC = bittst(R5, bitpos(COV15II));
ADSP-BF50x Blackfin Processor Hardware Reference
General-Purpose Counter
13-33
Need help?
Do you have a question about the ADSP-BF506F and is the answer not in the manual?