ADSP-BF50x Blackfin Processor Hardware Reference
9-23
General-Purpose Ports
Figure 9-4. GPIO Flow Chart (Part 2 of 2)
WRITE PORTxIO_EDGE TO SET
APPROPRIATE BITS FOR EDGE SENSITIVITY
EDGE
LEVEL
EDGE OR LEVEL
SENSITIVE?
WRITE PORTxIO_EDGE TO CLEAR
APPROPRIATE BITS FOR LEVEL SENSITIVITY
LOW
LEVEL HIGH
OR LOW?
WRITE PORTxIO_POLAR TO SET
APPROPRIATE BITS FOR LOW LEVEL SENSITIVITY
WRITE PORTxIO_POLAR TO CLEAR APPROPRIATE
BITS FOR HIGH LEVEL SENSITIVITY
A
NO
YES
INTERRUPT
ABILITY?
SOFTWARE CAN INTERROGATE
PORTx_DATA BITS TO
DETERMINE EVENTS
RISING OR FALLING
BOTH
EDGE RISING/
FALLING OR BOTH?
WRITE PORTxIO_BOTH TO SET
APPROPRIATE BITS FOR BOTH EDGE SENSITIVITY
WRITE PORTxIO_BOTH TO CLEAR APPROPRIATE
BITS FOR EDGE SENSITIVITY
RISING
FALLING
EDGE RISING
OR FALLING?
WRITE PORTxIO_POLAR TO SET
APPROPRIATE BITS FOR FALLING EDGE SENSITIVITY
WRITE PORTxIO_POLAR TO CLEAR APPROPRIATE
BITS FOR RISING EDGE SENSITIVITY
HIGH
WRITE EITHER PORTxIO_MASKA, PORTxIO_MASKB, PORTxIO_MASKA_SET,
PORTxIO_MASKB_SET, PORTxIO_MASKA_TOGGLE, OR PORTxIO_MASKB_TOGGLE
TO SET APPROPRIATE BITS ON WHICH TO GENERATE AN INTERRUPT
INTERRUPTS MUST THEN BE CONFIGURED AT THE
SYSTEM INTERRUPT CONTROLLER AND
CORE EVENT CONTROLLER
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 ...