mirror of
https://github.com/siemens-mobile-hacks/pmb887x-dev.git
synced 2026-11-26 02:47:30 +00:00
149 lines
4.7 KiB
INI
149 lines
4.7 KiB
INI
.id 0x00004400
|
|
.type MODULE
|
|
.name USART
|
|
.multi 1
|
|
.descr ASC0 from Tricore TC1766 official public datasheet
|
|
|
|
.irq TX
|
|
.irq TBUF
|
|
.irq RX
|
|
.irq ERR
|
|
.irq CTS
|
|
.irq ABDET
|
|
.irq ABSTART
|
|
.irq TMO
|
|
|
|
CLC 0x000
|
|
*MOD_CLC
|
|
|
|
PISEL 0x004
|
|
|
|
ID 0x008
|
|
*MOD_ID
|
|
|
|
CON 0x010
|
|
CON_R 15 1 Baud rate generator run control (0: disable; 1: enable)
|
|
LB 14 1 Loopback mode (0: disable; 1: enable)
|
|
BRS 13 1 Baudrate selection (0: Pre-scaler /2; 1: Pre-scaler / 3)
|
|
ODD 12 1 Parity selection (0: even; 1: odd)
|
|
FDE 11 1 Fraction divider enable (0: disable; 1: enable)
|
|
OE 10 1 Overrun error flag
|
|
FE 9 1 Framing error flag
|
|
PE 8 1 Parity error flag
|
|
OEN 7 1 Overrun check enable (0: ignore; 1: check)
|
|
FEN 6 1 Framing error check (0: ignore; 1: check)
|
|
PEN 5 1 Parity check enable (0: ignore; 1: check)
|
|
REN 4 1 Receiver bit enable (0: disable; 1: enable)
|
|
STP 3 1 Number of stop bits (0: 1 stop bit; 1: two stop bits)
|
|
ONE=0
|
|
TWO=1
|
|
M 0 3 ASC Mode Control.
|
|
SYNC_8BIT=0
|
|
ASYNC_8BIT=1
|
|
ASYNC_IRDA_8BIT=2
|
|
ASYNC_PARITY_7BIT=3
|
|
ASYNC_9BIT=4
|
|
ASYNC_WAKE_UP_8BIT=5
|
|
ASYNC_PARITY_8BIT=7
|
|
BG 0x014
|
|
FDV 0x018
|
|
PMW 0x01C
|
|
IRPW 8 1 IrDA Pulse Width Selection
|
|
PW_VALUE 0 8 IrDA Pulse Width Value
|
|
TXB 0x020
|
|
RXB 0x024
|
|
ABCON 0x030
|
|
RXINV 11 1 Receive invert enable (0: disable; 1: enable)
|
|
TXINV 10 1 Transmit invert enable (0: disable; 1: enable)
|
|
ABEM_ECHO_DET 8 1 Autobaud echo mode enabled during detection
|
|
ABEM_ECHO_ALWAYS 9 1 Autobaud echo mode always enabled
|
|
FCDETEN 4 1 Fir char of two byte frame detect
|
|
ABDETEN 3 1 Autobaud detection interrupt enable (0: dis; 1: en)
|
|
ABSTEN 2 1 Start of autobaud detect interrupt (0: dis; 1: en)
|
|
AUREN 1 1 Auto control of CON.REN (too complex for here)
|
|
ABEN 0 1 Autobaud detection enable
|
|
ABSTAT 0x034
|
|
DETWAIT 4 1 Autobaud detect is waiting
|
|
SCCDET 3 1 Second character with capital letter detected
|
|
SCSDET 2 1 Second character with small letter detected
|
|
FCCDET 1 1 First character with capital letter detected
|
|
FCSDET 0 1 First character with small letter detected
|
|
RXFCON 0x040
|
|
RXFITL 8 4 Receive FIFO interrupt trigger level
|
|
RXTMEN 2 1 Receive FIFO transparent mode enable
|
|
RXFFLU 1 1 Receive FIFO flush
|
|
RXFEN 0 1 Receive FIFO enable
|
|
TXFCON 0x044
|
|
TXFITL 8 4 Transmit FIFO interrupt trigger level
|
|
TXTMEN 2 1 Transmit FIFO transparent mode enable
|
|
TXFFLU 1 1 Transmit FIFO flush
|
|
TXFEN 0 1 Transmit FIFO enable
|
|
FSTAT 0x048
|
|
TXFFL 8 4 Transmit FIFO filling level mask
|
|
RXFFL 0 4 Receive FIFO filling level mask
|
|
WHBCON 0x050
|
|
SETOE 13 1 Set overrun error flag
|
|
SETFE 12 1 Set framing error flag
|
|
SETPE 11 1 Set parity error flag
|
|
CLROE 10 1 Clear overrun error flag
|
|
CLRFE 9 1 Clear framing error flag
|
|
CLRPE 8 1 Clear parity error flag
|
|
SETREN 5 1 Set receiver enable bit
|
|
CLRREN 4 1 Clear receiver enable bit
|
|
WHBABCON 0x054
|
|
WHBABSTAT 0x058
|
|
FCCON 0x05C
|
|
RTS_TRIGGER 8 6 RTS receive FIFO trigger level
|
|
RTS 4 1 RTS control bit
|
|
RTSEN 1 1 CTS enable (0: disable; 1: enable)
|
|
CTSEN 0 1 RTS enbled (0: disable; 1: enable)
|
|
FCSTAT 0x060
|
|
RTS 1 1 RTS Status (0: inactive; 1: active)
|
|
CTS 0 1 CTS Status (0: inactive; 1: active)
|
|
|
|
IMSC 0x064
|
|
TMO 7 1 RX timeout interrupt mask
|
|
ABSTART 6 1 Autobaud start interrupt mask
|
|
ABDET 5 1 Autobaud detected interrupt mask
|
|
CTS 4 1 CTS interrupt mask
|
|
ERR 3 1 Error interrupt mask
|
|
RX 2 1 Receive interrupt mask
|
|
TB 1 1 Transmit buffer interrupt mask
|
|
TX 0 1 Transmit interrupt mask
|
|
RIS 0x068
|
|
TMO 7 1 RX timeout interrupt mask
|
|
ABSTART 6 1 Autobaud start interrupt mask
|
|
ABDET 5 1 Autobaud detected interrupt mask
|
|
CTS 4 1 CTS interrupt mask
|
|
ERR 3 1 Error interrupt mask
|
|
RX 2 1 Receive interrupt mask
|
|
TB 1 1 Transmit buffer interrupt mask
|
|
TX 0 1 Transmit interrupt mask
|
|
MIS 0x06C
|
|
TMO 7 1 RX timeout interrupt mask
|
|
ABSTART 6 1 Autobaud start interrupt mask
|
|
ABDET 5 1 Autobaud detected interrupt mask
|
|
CTS 4 1 CTS interrupt mask
|
|
ERR 3 1 Error interrupt mask
|
|
RX 2 1 Receive interrupt mask
|
|
TB 1 1 Transmit buffer interrupt mask
|
|
TX 0 1 Transmit interrupt mask
|
|
ICR 0x070
|
|
TMO 7 1 RX timeout interrupt mask
|
|
ABSTART 6 1 Autobaud start interrupt mask
|
|
ABDET 5 1 Autobaud detected interrupt mask
|
|
CTS 4 1 CTS interrupt mask
|
|
ERR 3 1 Error interrupt mask
|
|
RX 2 1 Receive interrupt mask
|
|
TB 1 1 Transmit buffer interrupt mask
|
|
TX 0 1 Transmit interrupt mask
|
|
ISR 0x074
|
|
TMO 7 1 RX timeout interrupt mask
|
|
ABSTART 6 1 Autobaud start interrupt mask
|
|
ABDET 5 1 Autobaud detected interrupt mask
|
|
CTS 4 1 CTS interrupt mask
|
|
ERR 3 1 Error interrupt mask
|
|
RX 2 1 Receive interrupt mask
|
|
TB 1 1 Transmit buffer interrupt mask
|
|
TX 0 1 Transmit interrupt mask
|
|
TMO 0x07C
|