ADSP-BF50x Blackfin Processor Hardware Reference
13-7
General-Purpose Counter
CDGINV
bit in the
CNT_CONFIG
register. If this bit is cleared, a rising edge
will decrement the counter. If this bit is set, a falling edge will decrement
the counter.
Timed Direction Mode
In this mode, the counter is incremented or decremented at each
SCLK
cycle.
The state of the
CUD
input determines whether the counter increments or
decrements. The polarity can be selected by the
CUDINV
bit in the
CNT_CONFIG
register. If this bit is cleared, a high
CUD
input will increment
the counter, a low input will decrement it. If this bit is set, the polarity is
inverted.
The
CDG
pin can be used to gate the clock. The polarity can be selected by
the
CDGINV
bit in the
CNT_CONFIG
register. If this bit is cleared, a high
CDG
input will enable the counter, a low input will stop it. If this bit is set, the
polarity is inverted.
Functional Description
The following sections describe the various functions in more detail.
Input Noise Filtering (Debouncing)
In all modes, the three input pins can be filtered to present clean signals to
the GP counter logic. This filtering can be enabled or disabled by the
DEBE
bit in the
CNT_CONFIG
register.
Figure 13-2
shows the filtering operation
for the
CUD
pin.
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 ...