User manual

...the world's most energy friendly microcontrollers
2012-04-24 - Giant Gecko Family - d0053_Rev0.96 612
www.energymicro.com
Bit Name Reset Access Description
Write to 1 to clear the auxillary overflow interrupt flag
2 DIRCNG 0 W1 Direction Change Detect Interrupt Clear
Write to 1 to clear the direction change detect interrupt flag
1 OF 0 W1 Overflow Interrupt Clear
Write to 1 to clear the overflow interrupt flag
0 UF 0 W1 Underflow Interrupt Clear
Write to 1 to clear the underflow interrupt flag
24.5.10 PCNTn_IEN - Interrupt Enable Register
Offset Bit Position
0x024
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
3
2
1
0
Reset
0
0
0
0
Access
RW
RW
RW
RW
Name
AUXOF
DIRCNG
OF
UF
Bit Name Reset Access Description
31:4 Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
3 AUXOF 0 RW Auxillary Overflow Interrupt Enable
Enable the auxillary overflow interrupt
2 DIRCNG 0 RW Direction Change Detect Interrupt Enable
Enable the direction change detect interrupt.
1 OF 0 RW Overflow Interrupt Enable
Enable the overflow interrupt
0 UF 0 RW Underflow Interrupt Enable
Enable the underflow interrupt
24.5.11 PCNTn_ROUTE - I/O Routing Register
Offset Bit Position
0x028
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
3
2
1
0
Reset
0x0
Access
RW
Name
LOCATION
Bit Name Reset Access Description
31:11 Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
10:8 LOCATION 0x0 RW I/O Location
Defines the location of the PCNT input pins. E.g. PCNTn_S0#0, #1 or #2.
Value Mode Description
0 LOC0 Location 0