3GPIO Management
13
Copyright © 2018, www.
bluetrum.com. All Rights Reserved
13
Bit
Name
Mode
Default
Description
0001: map to G1
0010: map to G2
0011: map to TX pin by UT2TXMAP select
1111: Clear these bits
Others is reserved
7:4
UT2TXMAP
WR
0x0
UART2 TX mapping
0000: no affect
0001: map to G1
0010: map to G2
1111: Clear these bits
Others is reserved
3:0
Register 3-16FUNCMCON2: Port function mapping control Register 2
Bit
Name
Mode
Default
Description
31:24
-
-
-
Unused
23:20
19:16
TMR5MAP
WR
0x0
Timer5 PWM mapping
0000: no affect
0001: map to G1
1111: Clear these bits
Others is reserved
15:12
TMR4MAP
WR
0x0
Timer4 PWM mapping
0000: no affect
0001: map to G1
1111: Clear these bits
Others is reserved
11:8
TMR3MAP
WR
0x0
Timer3 PWM mapping
0000: no affect
0001: map to G1
1111: Clear these bits
Others is reserved
7:4
TMR3CPTMAP
WR
0x0
Timer3 capture Pin mapping
0000: no affect
0001: map to G1
0010: map to G2
0011: map to G3
0100: map to G4
0101: map to G5
0110: map to G6
0111: map to G7
1111: Clear these bits
Others is reserved
3:0
3.4
External Port interrupt wake up
Support eight wakeup source input, as the following table.
Wakeup source
Wakeup circuit
PA7
Wakeup circuit 0
PB1
Wakeup circuit 1
PB2
Wakeup circuit 2
PB3
Wakeup circuit 3
PB4
Wakeup circuit 4
WKO
Wakeup circuit 5
PORT_INT_FALL
Wakeup circuit 6
PORT_INT_RISE
Wakeup circuit 7