Programming Examples - Analog Devices ADSP-BF506F Hardware Reference Manual

Adsp-bf50x blackfin processor
Hide thumbs Also See for ADSP-BF506F:
Table of Contents

Advertisement

GPIO Mask Interrupt B Toggle Registers (PORTxIO_MASKB_TOGGLE)
For all bits, 1 - Toggle
Toggle Px15
Interrupt B Enable
Toggle Px14
Interrupt B Enable
Toggle Px13 Interrupt B
Enable
Toggle Px12 Interrupt B
Enable
Toggle Px11 Interrupt B
Enable
Toggle Px10 Interrupt B
Enable
Figure 9-30. GPIO Mask Interrupt B Toggle Registers

Programming Examples

Listing 9-1
provides examples for using the general-purpose ports.
Listing 9-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;
r0.l = 0x0000;
ADSP-BF50x Blackfin Processor Hardware Reference
15 14 13 12 11 10
9
8
0
0
0
0
0
0
0
0
General-Purpose Ports
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
0
Reset = 0x0000
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 Px8 Interrupt B
Enable
Toggle Px9 Interrupt B
Enable
9-41

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ADSP-BF506F and is the answer not in the manual?

This manual is also suitable for:

Adsp-bf504Adsp-bf504f

Table of Contents