19#ifndef __AT91RM9200_DBGU_H__
20#define __AT91RM9200_DBGU_H__
40#define DBGU_CR_RSTRX BIT2
41#define DBGU_CR_RSTTX BIT3
42#define DBGU_CR_RXEN BIT4
43#define DBGU_CR_RXDIS BIT5
44#define DBGU_CR_TXEN BIT6
45#define DBGU_CR_TXDIS BIT7
46#define DBGU_CR_RSTSTA BIT8
49#define DBGU_MR_PAR_EVEN (0x0 << 9)
50#define DBGU_MR_PAR_ODD (0x1 << 9)
51#define DBGU_MR_PAR_SPACE (0x2 << 9)
52#define DBGU_MR_PAR_MARK (0x3 << 9)
53#define DBGU_MR_PAR_NONE (0x4 << 9)
54#define DBGU_MR_PAR_MDROP (0x6 << 9)
55#define DBGU_MR_CHMODE_NORM (0x0 << 14)
56#define DBGU_MR_CHMODE_AUTO (0x1 << 14)
57#define DBGU_MR_CHMODE_LOC (0x2 << 14)
58#define DBGU_MR_CHMODE_REM (0x3 << 14)
64#define DBGU_INT_RXRDY BIT0
65#define DBGU_INT_TXRDY BIT1
66#define DBGU_INT_ENDRX BIT3
67#define DBGU_INT_ENDTX BIT4
68#define DBGU_INT_OVRE BIT5
69#define DBGU_INT_FRAME BIT6
70#define DBGU_INT_PARE BIT7
71#define DBGU_INT_TXEMPTY BIT9
72#define DBGU_INT_TXBUFE BIT11
73#define DBGU_INT_RXBUFF BIT12
74#define DBGU_INT_COMM_TX BIT30
75#define DBGU_INT_COMM_RX BIT31
76#define DBGU_INT_ALL 0xC0001AFB
79#define DBGU_FNTR_NTRST BIT0
84 volatile uint32_t ier;
85 volatile uint32_t idr;
86 volatile uint32_t imr;
88 volatile uint32_t rhr;
89 volatile uint32_t thr;
90 volatile uint32_t brgr;
91 volatile uint32_t _res0[7];
92 volatile uint32_t cidr;
93 volatile uint32_t exid;
94 volatile uint32_t fnr;
Definition: at91rm9200_dbgu.h:81