
GR716-DS-UM, May 2019, Version 1.29
268
www.cobham.com/gaisler
GR716
0x104 + n*0x20
3)
Sequence control register 1
2)
0x108 + n*0x20
3)
Synchronization control register
2)
0x10C + n*0x20
3)
Sequence output data register
2)
0x110 + n*0x20
3)
Sample input data register
2)
0x114 + n*0x20
3)
Sequencer interrupt register
2)
0x118 + n*0x20
3)
Sequencer mask register
2)
0x180
Sequencer start offset register
Note 1:
For the Set&Clear function to take place 2 consecutive writes needs to be performed. The first write access must
always be to the address with the lowest address. An access to the GPIO address space in-between the 2 consec-
utive writes would make the first write to the set&clear register invalid and the Set&Clear will not take place. It
is recommended to use the SPARC feature ’double store’ and the addresses for the Set&Clear function has been
aligned to addresses suitable for the SPARC feature ’double store’.
For the LEON3FT microcontroller it is recommended to use the build in ATOMIC operation supported by the
APB controller, see chapter 2.2.7
Note 2:
Each GPIO pin have separate control register, synchronization and data register for sampling and generating out-
put sequences
Note 3:
Each GPIO unit have 4 separate GPIO sequencer i.e. base address for sequencers are:
Sequencer 0: 0x100
Sequencer 1: 0x120
Sequencer 2: 0x140
Sequencer 3: 0x160
Table 312.
General Purpose I/O Port registers
APB address offset
Register