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.
Содержание EZ-KIT Lite ADSP-BF506F
Страница 50: ...Contents l ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 92: ...Development Tools 1 30 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 110: ...Interface Overview 3 12 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 132: ...Unique Information for the ADSP BF50x Processor 4 22 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 236: ...Internal Flash Memory Control Registers 6 92 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 342: ...Unique Information for the ADSP BF50x Processor 7 106 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 484: ...Unique Information for the ADSP BF50x Processor 10 60 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 493: ...ADSP BF50x Blackfin Processor Hardware Reference 11 9 Core Timer Unique Information for the ADSP BF50x Processor None ...
Страница 494: ...Unique Information for the ADSP BF50x Processor 11 10 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 506: ...Unique Information for the ADSP BF50x Processor 12 12 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 544: ...Unique Information for the ADSP BF50x Processor 13 38 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 650: ...Programming Examples 15 56 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 712: ...Unique Information for the ADSP BF50x Processor 16 62 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 804: ...Programming Examples 17 92 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 972: ...Unique Information for the ADSP BF50x Processor 20 38 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 1194: ...Programming Examples 24 90 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 1256: ...ACM Registers A 50 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 1264: ...Boundary Scan Architecture B 8 ADSP BF50x Blackfin Processor Hardware Reference ...