ADSP-BF537 Blackfin Processor Hardware Reference
14-21
General-Purpose Ports
Figure 14-8. 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 Blackfin ADSP-BF537
Page 42: ...Contents xlii ADSP BF537 Blackfin Processor Hardware Reference ...
Page 90: ...Development Tools 1 32 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 138: ...Programming Examples 4 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 340: ...SDC Programming Examples 6 84 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 606: ...Programming Examples 9 94 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 660: ...Programming Examples 10 54 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 720: ...Electrical Specifications 11 60 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 840: ...Programming Examples 13 42 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 876: ...Programming Examples 14 36 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 938: ...Programming Examples 15 62 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 958: ...Programming Examples 17 12 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 986: ...Programming Examples 18 28 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 1162: ...G 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 1218: ...Index I 56 ADSP BF537 Blackfin Processor Hardware Reference ...