Product Specs

Table Of Contents
21 GPIOTE GPIO tasks and events
Page
164
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4
Id D C C B B B B B
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
3
0
2
0
1
A
0
0
A
0
Id RW Field Value Id Value Description
D RW OUTINIT When in task mode: Initial value of the output when the GPIOTE
channel is configured. When in event mode: No effect.
Low 0 Task mode: Initial value of pin before task triggering is low
High 1 Task mode: Initial value of pin before task triggering is high
21.4.6 CONFIG[3]
Address offset: 0x51C
Configuration for OUT[n], SET[n] and CLR[n] tasks and IN[n] event
Bit number
Id
Reset 0x00000000
31 30
0 0
29
0
28
0
27
0
26
0
25
0
24
0
23 22 21 20
D
0 0 0 0
19
0
18
0
17
C
0
16
C
0
15
0
14
0
13
0
12
B
0
11
B
0
10
B
0
9
B
0
8
B
0
7
0
6
0
5
0
4
0
3
0
2
0
1
A
0
0
A
0
Id RW Field
Value Id
Value
Description
A
RW
MODE
Disabled
Event
0
1
Mode
Disabled. Pin specified by PSEL will not be acquired by the
GPIOTE module.
Event mode
Task
3
The pin specified by PSEL will be configured as an input and the
IN[n] event will be generated if operation specified in POLARITY
occurs on the pin.
Task mode
The GPIO specified by PSEL will be configured as an output and
triggering the SET[n], CLR[n] or OUT[n] task will perform the
operation specified by POLARITY on the pin. When enabled as a
task the GPIOTE module will acquire the pin and the pin can no
longer be written as a regular output pin from the GPIO module.
B
RW
PSEL
[0..31]
GPIO number associated with SET[n], CLR[n] and OUT[n] tasks
and IN[n] event
C
RW
POLARITY
None
0
When In task mode: Operation to be performed on output
when OUT[n] task is triggered. When In event mode: Operation
on input that shall trigger IN[n] event.
Task mode: No effect on pin from OUT[n] task. Event mode: no
LoToHi
1
IN[n] event generated on pin activity.
Task mode: Set pin from OUT[n] task. Event mode: Generate
HiToLo
2
IN[n] event when rising edge on pin.
Task mode: Clear pin from OUT[n] task. Event mode: Generate
Toggle
3
IN[n] event when falling edge on pin.
Task mode: Toggle pin from OUT[n]. Event mode: Generate
IN[n] when any change on pin.
D
RW
OUTINIT
Low
0
When in task mode: Initial value of the output when the GPIOTE
channel is configured. When in event mode: No effect.
Task mode: Initial value of pin before task triggering is low
High
1
Task mode: Initial value of pin before task triggering is high
21.4.7 CONFIG[4]
Address offset: 0x520
Configuration for OUT[n], SET[n] and CLR[n] tasks and IN[n] event