uart.h 246 B

12345678910111213141516171819
  1. #ifndef _uart_h
  2. #define _uart_h
  3. #include <asm/types.h>
  4. typedef struct _uart_reg_s{
  5. union{
  6. u8 rec_fifo[4];
  7. u32 reg000;
  8. };
  9. u32 reg004;
  10. u32 reg008;
  11. u32 reg00c;
  12. u32 reg010;
  13. u32 reg014;
  14. u32 reg018;
  15. }uart_reg_s;
  16. #endif //_uart_h