mikroSDK Reference Manual

Topics

 UART Register Masks
 
 USB Peripheral Access Layer
 

Data Structures

struct  UART_Type
 

Macros

#define UART0_BASE   (0x4006A000u)
 
#define UART0   ((UART_Type *)UART0_BASE)
 
#define UART1_BASE   (0x4006B000u)
 
#define UART1   ((UART_Type *)UART1_BASE)
 
#define UART2_BASE   (0x4006C000u)
 
#define UART2   ((UART_Type *)UART2_BASE)
 
#define UART3_BASE   (0x4006D000u)
 
#define UART3   ((UART_Type *)UART3_BASE)
 
#define UART4_BASE   (0x400EA000u)
 
#define UART4   ((UART_Type *)UART4_BASE)
 
#define UART5_BASE   (0x400EB000u)
 
#define UART5   ((UART_Type *)UART5_BASE)
 
#define UART0_BASE   (0x4006A000u)
 
#define UART0   ((UART_Type *)UART0_BASE)
 
#define UART1_BASE   (0x4006B000u)
 
#define UART1   ((UART_Type *)UART1_BASE)
 
#define UART2_BASE   (0x4006C000u)
 
#define UART2   ((UART_Type *)UART2_BASE)
 
#define UART3_BASE   (0x4006D000u)
 
#define UART3   ((UART_Type *)UART3_BASE)
 
#define UART4_BASE   (0x400EA000u)
 
#define UART4   ((UART_Type *)UART4_BASE)
 
#define UART5_BASE   (0x400EB000u)
 
#define UART5   ((UART_Type *)UART5_BASE)
 
#define UART_BASE_ADDRS   { UART0_BASE, UART1_BASE, UART2_BASE, UART3_BASE, UART4_BASE, UART5_BASE }
 
#define UART_BASE_PTRS   { UART0, UART1, UART2, UART3, UART4, UART5 }
 
#define UART_RX_TX_IRQS   { UART0_RX_TX_IRQn, UART1_RX_TX_IRQn, UART2_RX_TX_IRQn, UART3_RX_TX_IRQn, UART4_RX_TX_IRQn, UART5_RX_TX_IRQn }
 
#define UART_ERR_IRQS   { UART0_ERR_IRQn, UART1_ERR_IRQn, UART2_ERR_IRQn, UART3_ERR_IRQn, UART4_ERR_IRQn, UART5_ERR_IRQn }
 
#define UART_LON_IRQS   { UART0_LON_IRQn, NotAvail_IRQn, NotAvail_IRQn, NotAvail_IRQn, NotAvail_IRQn, NotAvail_IRQn }
 
#define UART0_BASE   (0x4006A000u)
 
#define UART0   ((UART_Type *)UART0_BASE)
 
#define UART1_BASE   (0x4006B000u)
 
#define UART1   ((UART_Type *)UART1_BASE)
 
#define UART2_BASE   (0x4006C000u)
 
#define UART2   ((UART_Type *)UART2_BASE)
 
#define UART3_BASE   (0x4006D000u)
 
#define UART3   ((UART_Type *)UART3_BASE)
 
#define UART4_BASE   (0x400EA000u)
 
#define UART4   ((UART_Type *)UART4_BASE)
 
#define UART_BASE_ADDRS   { UART0_BASE, UART1_BASE, UART2_BASE, UART3_BASE, UART4_BASE }
 
#define UART_BASE_PTRS   { UART0, UART1, UART2, UART3, UART4 }
 
#define UART_RX_TX_IRQS   { UART0_RX_TX_IRQn, UART1_RX_TX_IRQn, UART2_RX_TX_IRQn, UART3_RX_TX_IRQn, UART4_RX_TX_IRQn }
 
#define UART_ERR_IRQS   { UART0_ERR_IRQn, UART1_ERR_IRQn, UART2_ERR_IRQn, UART3_ERR_IRQn, UART4_ERR_IRQn }
 
#define UART0_BASE   (0x4006A000u)
 
#define UART0   ((UART_Type *)UART0_BASE)
 
#define UART1_BASE   (0x4006B000u)
 
#define UART1   ((UART_Type *)UART1_BASE)
 
#define UART2_BASE   (0x4006C000u)
 
#define UART2   ((UART_Type *)UART2_BASE)
 
#define UART3_BASE   (0x4006D000u)
 
#define UART3   ((UART_Type *)UART3_BASE)
 
#define UART4_BASE   (0x400EA000u)
 
#define UART4   ((UART_Type *)UART4_BASE)
 
#define UART_BASE_ADDRS   { UART0_BASE, UART1_BASE, UART2_BASE, UART3_BASE, UART4_BASE }
 
#define UART_BASE_PTRS   { UART0, UART1, UART2, UART3, UART4 }
 
#define UART_RX_TX_IRQS   { UART0_RX_TX_IRQn, UART1_RX_TX_IRQn, UART2_RX_TX_IRQn, UART3_RX_TX_IRQn, UART4_RX_TX_IRQn }
 
#define UART_ERR_IRQS   { UART0_ERR_IRQn, UART1_ERR_IRQn, UART2_ERR_IRQn, UART3_ERR_IRQn, UART4_ERR_IRQn }
 
#define UART0_BASE   (0x4006A000u)
 
#define UART0   ((UART_Type *)UART0_BASE)
 
#define UART1_BASE   (0x4006B000u)
 
#define UART1   ((UART_Type *)UART1_BASE)
 
#define UART2_BASE   (0x4006C000u)
 
#define UART2   ((UART_Type *)UART2_BASE)
 
#define UART3_BASE   (0x4006D000u)
 
#define UART3   ((UART_Type *)UART3_BASE)
 
#define UART4_BASE   (0x400EA000u)
 
#define UART4   ((UART_Type *)UART4_BASE)
 
#define UART5_BASE   (0x400EB000u)
 
#define UART5   ((UART_Type *)UART5_BASE)
 
#define UART_BASE_ADDRS   { UART0_BASE, UART1_BASE, UART2_BASE, UART3_BASE, UART4_BASE, UART5_BASE }
 
#define UART_BASE_PTRS   { UART0, UART1, UART2, UART3, UART4, UART5 }
 
#define UART_RX_TX_IRQS   { UART0_RX_TX_IRQn, UART1_RX_TX_IRQn, UART2_RX_TX_IRQn, UART3_RX_TX_IRQn, UART4_RX_TX_IRQn, UART5_RX_TX_IRQn }
 
#define UART_ERR_IRQS   { UART0_ERR_IRQn, UART1_ERR_IRQn, UART2_ERR_IRQn, UART3_ERR_IRQn, UART4_ERR_IRQn, UART5_ERR_IRQn }
 

Macro Definition Documentation

◆ UART0 [1/5]

#define UART0   ((UART_Type *)UART0_BASE)

Peripheral UART0 base pointer

◆ UART0 [2/5]

#define UART0   ((UART_Type *)UART0_BASE)

Peripheral UART0 base pointer

◆ UART0 [3/5]

#define UART0   ((UART_Type *)UART0_BASE)

Peripheral UART0 base pointer

◆ UART0 [4/5]

#define UART0   ((UART_Type *)UART0_BASE)

Peripheral UART0 base pointer

◆ UART0 [5/5]

#define UART0   ((UART_Type *)UART0_BASE)

Peripheral UART0 base pointer

◆ UART0_BASE [1/5]

#define UART0_BASE   (0x4006A000u)

Peripheral UART0 base address

◆ UART0_BASE [2/5]

#define UART0_BASE   (0x4006A000u)

Peripheral UART0 base address

◆ UART0_BASE [3/5]

#define UART0_BASE   (0x4006A000u)

Peripheral UART0 base address

◆ UART0_BASE [4/5]

#define UART0_BASE   (0x4006A000u)

Peripheral UART0 base address

◆ UART0_BASE [5/5]

#define UART0_BASE   (0x4006A000u)

Peripheral UART0 base address

◆ UART1 [1/5]

#define UART1   ((UART_Type *)UART1_BASE)

Peripheral UART1 base pointer

◆ UART1 [2/5]

#define UART1   ((UART_Type *)UART1_BASE)

Peripheral UART1 base pointer

◆ UART1 [3/5]

#define UART1   ((UART_Type *)UART1_BASE)

Peripheral UART1 base pointer

◆ UART1 [4/5]

#define UART1   ((UART_Type *)UART1_BASE)

Peripheral UART1 base pointer

◆ UART1 [5/5]

#define UART1   ((UART_Type *)UART1_BASE)

Peripheral UART1 base pointer

◆ UART1_BASE [1/5]

#define UART1_BASE   (0x4006B000u)

Peripheral UART1 base address

◆ UART1_BASE [2/5]

#define UART1_BASE   (0x4006B000u)

Peripheral UART1 base address

◆ UART1_BASE [3/5]

#define UART1_BASE   (0x4006B000u)

Peripheral UART1 base address

◆ UART1_BASE [4/5]

#define UART1_BASE   (0x4006B000u)

Peripheral UART1 base address

◆ UART1_BASE [5/5]

#define UART1_BASE   (0x4006B000u)

Peripheral UART1 base address

◆ UART2 [1/5]

#define UART2   ((UART_Type *)UART2_BASE)

Peripheral UART2 base pointer

◆ UART2 [2/5]

#define UART2   ((UART_Type *)UART2_BASE)

Peripheral UART2 base pointer

◆ UART2 [3/5]

#define UART2   ((UART_Type *)UART2_BASE)

Peripheral UART2 base pointer

◆ UART2 [4/5]

#define UART2   ((UART_Type *)UART2_BASE)

Peripheral UART2 base pointer

◆ UART2 [5/5]

#define UART2   ((UART_Type *)UART2_BASE)

Peripheral UART2 base pointer

◆ UART2_BASE [1/5]

#define UART2_BASE   (0x4006C000u)

Peripheral UART2 base address

◆ UART2_BASE [2/5]

#define UART2_BASE   (0x4006C000u)

Peripheral UART2 base address

◆ UART2_BASE [3/5]

#define UART2_BASE   (0x4006C000u)

Peripheral UART2 base address

◆ UART2_BASE [4/5]

#define UART2_BASE   (0x4006C000u)

Peripheral UART2 base address

◆ UART2_BASE [5/5]

#define UART2_BASE   (0x4006C000u)

Peripheral UART2 base address

◆ UART3 [1/5]

#define UART3   ((UART_Type *)UART3_BASE)

Peripheral UART3 base pointer

◆ UART3 [2/5]

#define UART3   ((UART_Type *)UART3_BASE)

Peripheral UART3 base pointer

◆ UART3 [3/5]

#define UART3   ((UART_Type *)UART3_BASE)

Peripheral UART3 base pointer

◆ UART3 [4/5]

#define UART3   ((UART_Type *)UART3_BASE)

Peripheral UART3 base pointer

◆ UART3 [5/5]

#define UART3   ((UART_Type *)UART3_BASE)

Peripheral UART3 base pointer

◆ UART3_BASE [1/5]

#define UART3_BASE   (0x4006D000u)

Peripheral UART3 base address

◆ UART3_BASE [2/5]

#define UART3_BASE   (0x4006D000u)

Peripheral UART3 base address

◆ UART3_BASE [3/5]

#define UART3_BASE   (0x4006D000u)

Peripheral UART3 base address

◆ UART3_BASE [4/5]

#define UART3_BASE   (0x4006D000u)

Peripheral UART3 base address

◆ UART3_BASE [5/5]

#define UART3_BASE   (0x4006D000u)

Peripheral UART3 base address

◆ UART4 [1/5]

#define UART4   ((UART_Type *)UART4_BASE)

Peripheral UART4 base pointer

◆ UART4 [2/5]

#define UART4   ((UART_Type *)UART4_BASE)

Peripheral UART4 base pointer

◆ UART4 [3/5]

#define UART4   ((UART_Type *)UART4_BASE)

Peripheral UART4 base pointer

◆ UART4 [4/5]

#define UART4   ((UART_Type *)UART4_BASE)

Peripheral UART4 base pointer

◆ UART4 [5/5]

#define UART4   ((UART_Type *)UART4_BASE)

Peripheral UART4 base pointer

◆ UART4_BASE [1/5]

#define UART4_BASE   (0x400EA000u)

Peripheral UART4 base address

◆ UART4_BASE [2/5]

#define UART4_BASE   (0x400EA000u)

Peripheral UART4 base address

◆ UART4_BASE [3/5]

#define UART4_BASE   (0x400EA000u)

Peripheral UART4 base address

◆ UART4_BASE [4/5]

#define UART4_BASE   (0x400EA000u)

Peripheral UART4 base address

◆ UART4_BASE [5/5]

#define UART4_BASE   (0x400EA000u)

Peripheral UART4 base address

◆ UART5 [1/3]

#define UART5   ((UART_Type *)UART5_BASE)

Peripheral UART5 base pointer

◆ UART5 [2/3]

#define UART5   ((UART_Type *)UART5_BASE)

Peripheral UART5 base pointer

◆ UART5 [3/3]

#define UART5   ((UART_Type *)UART5_BASE)

Peripheral UART5 base pointer

◆ UART5_BASE [1/3]

#define UART5_BASE   (0x400EB000u)

Peripheral UART5 base address

◆ UART5_BASE [2/3]

#define UART5_BASE   (0x400EB000u)

Peripheral UART5 base address

◆ UART5_BASE [3/3]

#define UART5_BASE   (0x400EB000u)

Peripheral UART5 base address

◆ UART_BASE_ADDRS [1/4]

#define UART_BASE_ADDRS   { UART0_BASE, UART1_BASE, UART2_BASE, UART3_BASE, UART4_BASE, UART5_BASE }

Array initializer of UART peripheral base addresses

◆ UART_BASE_ADDRS [2/4]

#define UART_BASE_ADDRS   { UART0_BASE, UART1_BASE, UART2_BASE, UART3_BASE, UART4_BASE }

Array initializer of UART peripheral base addresses

◆ UART_BASE_ADDRS [3/4]

#define UART_BASE_ADDRS   { UART0_BASE, UART1_BASE, UART2_BASE, UART3_BASE, UART4_BASE }

Array initializer of UART peripheral base addresses

◆ UART_BASE_ADDRS [4/4]

#define UART_BASE_ADDRS   { UART0_BASE, UART1_BASE, UART2_BASE, UART3_BASE, UART4_BASE, UART5_BASE }

Array initializer of UART peripheral base addresses

◆ UART_BASE_PTRS [1/4]

#define UART_BASE_PTRS   { UART0, UART1, UART2, UART3, UART4, UART5 }

Array initializer of UART peripheral base pointers

◆ UART_BASE_PTRS [2/4]

#define UART_BASE_PTRS   { UART0, UART1, UART2, UART3, UART4 }

Array initializer of UART peripheral base pointers

◆ UART_BASE_PTRS [3/4]

#define UART_BASE_PTRS   { UART0, UART1, UART2, UART3, UART4 }

Array initializer of UART peripheral base pointers

◆ UART_BASE_PTRS [4/4]

#define UART_BASE_PTRS   { UART0, UART1, UART2, UART3, UART4, UART5 }

Array initializer of UART peripheral base pointers

◆ UART_RX_TX_IRQS [1/4]

Interrupt vectors for the UART peripheral type

◆ UART_RX_TX_IRQS [2/4]

Interrupt vectors for the UART peripheral type

◆ UART_RX_TX_IRQS [3/4]

Interrupt vectors for the UART peripheral type

◆ UART_RX_TX_IRQS [4/4]

Interrupt vectors for the UART peripheral type