Programming Model
9-22
ADSP-BF50x Blackfin Processor Hardware Reference
Programming Model
Figure 9-3
and
Figure 9-4
show the programming model for the gen-
eral-purpose ports.
Figure 9-3. GPIO Flow Chart (Part 1 of 2)
WRITE PORTx_MUX, WRITE PORTx_FER
TO SET APPROPRIATE PERIPHERAL BITS
PERIPHERAL
GPIO
GPIO OR
PERIPHERAL?
WRITE PORTx_FER TO CLEAR
APPROPRIATE PFx, PGx, AND PHx BITS
SEE PERIPHERAL FOR MORE DETAILS
OUTPUT
INPUT
GPIO OUTPUT
OR INPUT?
WRITE PORTxIO_DIR TO CLEAR
APPROPRIATE BITS FOR INPUT DIRECTION
WRITE PORTxIO_INEN TO SET APPROPRIATE
BITS TO ENABLE INPUT DRIVERS DIRECTION
A
WRITE PORTxIO_DIR TO SET
APPROPRIATE BITS FOR OUTPUT DIRECTION
SET
CLEAR
SET OR CLEAR
GPIO?
WRITE PORTxIO_CLEAR TO SET
APPROPRIATE BITS TO LOWER INDIVIDUAL GPIO
WRITE PORTxIO_SET TO SET
APPROPRIATE BITS TO RAISE INDIVIDUAL GPIO
Содержание 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 ...