ADSP-BF50x Blackfin Processor Hardware Reference
13-13
General-Purpose Counter
Zero-Count Events
The
CZEROII
status bit indicates that the
CNT_COUNTER
has reached a value
equal to 0x0000 0000 after an increment or decrement. This bit is not set
when the counter value is set to zero by a write to
CNT_COUNTER
or by set-
ting the
W1LCNT_ZERO
bit in the
CNT_COMMAND
register. If enabled by the
CZEROIE
bit, an interrupt request is generated.
Overflow Events
There are two status bits that indicate whether the signed counter register
has overflowed from a positive to a negative value or vice versa.
The
COV31II
bit reports that the 32-bit
CNT_COUNT
register has either incre-
mented from 0x7FFF FFFF to 0x8000 0000, or decremented from
0x8000 0000 to 0x7FFF FFFF. If enabled by the
COV31IE
bit, an interrupt
request is generated.
Similarly, in applications where only the lower 16 bits of the counter are
of interest, the
COV15II
status bit reports counter transitions from
0xXXXX 7FFF to 0xXXXX 8000, or from 0xXXXX 8000 to
0xXXXX 7FFF. If enabled by the
COV15IE
bit, an interrupt request is
generated.
Boundary Match Events
The
MINCII
and
MAXCII
status bits report boundary events as described in
“Boundary Comparison Modes” on page 13-10
. These bits are not set if
the
CNT_COUNTER
,
CNT_MAX
or
CNT_MIN
registers are updated by software or
the
CNT_COMMAND
register is written to.
The
MINCIE
and
MAXCIE
bits in the
CNT_IMASK
register enable interrupt
generation on boundary events.
Summary of Contents for EZ-KIT Lite ADSP-BF506F
Page 50: ...Contents l ADSP BF50x Blackfin Processor Hardware Reference ...
Page 92: ...Development Tools 1 30 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 110: ...Interface Overview 3 12 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 236: ...Internal Flash Memory Control Registers 6 92 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 650: ...Programming Examples 15 56 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 804: ...Programming Examples 17 92 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 1194: ...Programming Examples 24 90 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 1256: ...ACM Registers A 50 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 1264: ...Boundary Scan Architecture B 8 ADSP BF50x Blackfin Processor Hardware Reference ...