Programming Examples
14-34
ADSP-BF537 Blackfin Processor Hardware Reference
Programming Examples
provides examples for using the general-purpose ports.
Listing 14-1. General-Purpose Ports
/* set port f function enable register to GPIO (not peripheral)
*/
p0.l = lo(PORTF_FER);
p0.h = hi(PORTF_FER);
R0.h = 0x0000;
Figure 14-27. GPIO Mask Interrupt B Toggle Registers
15 14
13 12
11 10
9
8
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
GPIO Mask Interrupt B Toggle Registers (PORTxIO_MASKB_TOGGLE)
For all bits, 1 - Toggle
Reset = 0x0000
Port F:
0xFFC0 072C
Port G:
0xFFC0 152C
Port H:
0xFFC0 172C
Toggle Px0 Interrupt B
Enable
Toggle Px1 Interrupt B
Enable
Toggle Px2 Interrupt B
Enable
Toggle Px3 Interrupt B
Enable
Toggle Px4 Interrupt B
Enable
Toggle Px5 Interrupt B
Enable
Toggle Px6 Interrupt B
Enable
Toggle Px7 Interrupt B
Enable
Toggle Px9 Interrupt B
Enable
Toggle Px8 Interrupt B
Enable
Toggle Px12 Interrupt B
Enable
Toggle Px13 Interrupt B
Enable
Toggle Px14
Interrupt B Enable
Toggle Px15
Interrupt B Enable
Toggle Px11 Interrupt B
Enable
Toggle Px10 Interrupt B
Enable
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 ...