ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

pl011.h
Go to the documentation of this file.
00001 /*
00002  * PROJECT:         ReactOS Kernel
00003  * LICENSE:         BSD - See COPYING.ARM in the top level directory
00004  * FILE:            include/reactos/arm/peripherals/pl011.h
00005  * PURPOSE:         PL011 Registers and Constants
00006  * PROGRAMMERS:     ReactOS Portable Systems Group
00007  */
00008 
00009 /* GLOBALS ********************************************************************/
00010 
00011 //
00012 // UART Registers
00013 //
00014 #define UART_BASE                (ULONG_PTR)0x101F1000
00015 
00016 #define UART_PL01x_DR            (UART_BASE + 0x00)
00017 #define UART_PL01x_RSR           (UART_BASE + 0x04)
00018 #define UART_PL01x_ECR           (UART_BASE + 0x04)
00019 #define UART_PL01x_FR            (UART_BASE + 0x18)
00020 #define UART_PL011_IBRD          (UART_BASE + 0x24)
00021 #define UART_PL011_FBRD          (UART_BASE + 0x28)
00022 #define UART_PL011_LCRH          (UART_BASE + 0x2C)
00023 #define UART_PL011_CR            (UART_BASE + 0x30)
00024 #define UART_PL011_IMSC          (UART_BASE + 0x38)
00025 
00026 //
00027 // LCR Values
00028 //
00029 typedef union _PL011_LCR_REGISTER
00030 {
00031     ULONG Todo;
00032 } PL011_LCR_REGISTER, *PPL011_LCR_REGISTER;
00033 
00034 #define UART_PL011_LCRH_WLEN_8   0x60
00035 #define UART_PL011_LCRH_FEN      0x10
00036 
00037 //
00038 // FCR Values
00039 //
00040 typedef union _PL011_FCR_REGISTER
00041 {
00042     ULONG Todo;
00043 } PL011_FCR_REGISTER, *PPL011_FCR_REGISTER;
00044 
00045 #define UART_PL011_CR_UARTEN     0x01
00046 #define UART_PL011_CR_TXE        0x100
00047 #define UART_PL011_CR_RXE        0x200
00048 
00049 //
00050 // LSR Values
00051 //
00052 typedef union _PL011_LSR_REGISTER
00053 {
00054     ULONG Todo;
00055 } PL011_LSR_REGISTER, *PPL011_LSR_REGISTER;
00056 
00057 #define UART_PL01x_FR_RXFE       0x10
00058 #define UART_PL01x_FR_TXFF       0x20

Generated on Sun May 27 2012 04:33:07 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.