User manual

...the world's most energy friendly microcontrollers
2012-04-24 - Giant Gecko Family - d0053_Rev0.96 487
www.energymicro.com
Bit Name Reset Access Description
Enable interrupt on framing error.
8 PERR 0 RW Parity Error Interrupt Enable
Enable interrupt on parity error (asynchronous mode only).
7 TXUF 0 RW TX Underflow Interrupt Enable
Enable interrupt on TX underflow.
6 TXOF 0 RW TX Overflow Interrupt Enable
Enable interrupt on TX overflow.
5 RXUF 0 RW RX Underflow Interrupt Enable
Enable interrupt on RX underflow.
4 RXOF 0 RW RX Overflow Interrupt Enable
Enable interrupt on RX overflow.
3 RXFULL 0 RW RX Buffer Full Interrupt Enable
Enable interrupt on RX Buffer full.
2 RXDATAV 0 RW RX Data Valid Interrupt Enable
Enable interrupt on RX data.
1 TXBL 0 RW TX Buffer Level Interrupt Enable
Enable interrupt on TX buffer level.
0 TXC 0 RW TX Complete Interrupt Enable
Enable interrupt on TX complete.
17.5.21 USARTn_IRCTRL - IrDA Control Register
Offset Bit Position
0x050
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
0x0
0
0x0
0
Access
RW
RW
RW
RW
RW
Name
IRPRSEN
IRPRSSEL
IRFILT
IRPW
IREN
Bit Name Reset Access Description
31:8 Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
7 IRPRSEN 0 RW IrDA PRS Channel Enable
Enable the PRS channel selected by IRPRSSEL as input to IrDA module instead of TX.
6:4 IRPRSSEL 0x0 RW IrDA PRS Channel Select
A PRS can be used as input to the pulse modulator instead of TX. This value selects the channel to use.
Value Mode Description
0 PRSCH0 PRS Channel 0 selected
1 PRSCH1 PRS Channel 1 selected
2 PRSCH2 PRS Channel 2 selected
3 PRSCH3 PRS Channel 3 selected
4 PRSCH4 PRS Channel 4 selected
5 PRSCH5 PRS Channel 5 selected
6 PRSCH6 PRS Channel 6 selected
7 PRSCH7 PRS Channel 7 selected
3 IRFILT 0 RW IrDA RX Filter