Description of Operation
13-4
ADSP-BF50x Blackfin Processor Hardware Reference
Description of Operation
The GP counter has five modes of operation that are described in this
section.
With the exception of the timed direction mode, the GP counter can
operate with the GP timer block to capture additional timing information
(time-stamps) associated with events detected by this block.
The third input (
CZM
) may be used as a zero marker or to sense the press-
ing of a push button. Refer to
“Zero Marker (Push Button) Operation” on
page 13-9
for more details.
The three input pins may be filtered (debounced) before being evaluated
by the GP counter. Refer to
“Input Noise Filtering (Debouncing)” on
page 13-7
for more details.
The GP counter also features a flexible boundary comparison. In all of the
operating modes, the counter can be compared to an upper and lower
limit. A variety of actions can be taken when these limits are reached.
Refer to
“Boundary Comparison Modes” on page 13-10
for more details.
Quadrature Encoder Mode
In this mode, the
CUD:CDG
inputs expect a quadrature-encoded signal that
is interpreted as a 2-bit Gray code. The order of transitions of the
CUD
and
CDG
inputs determines whether the counter increments or decrements. The
CNT_COUNTER
register contains the number of transitions that have
occurred. Refer to
Table 13-1
for more details.
Optionally, an interrupt is generated if both inputs change within one
SCLK
cycle. Such transitions are not allowed by Gray coding. Therefore,
the
CNT_COUNTER
register remains unchanged and an error condition is
signaled.
Содержание 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 ...