uart_reg.h 444 B

12345678910111213141516171819202122
  1. /*
  2. * Copyright (c) 2020, Shenzhen Academy of Aerospace Technology
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2020-10-16 Dystopia the first version
  9. */
  10. #ifndef SERIAL_REG_H
  11. #define SERIAL_REG_H
  12. struct uart_reg
  13. {
  14. unsigned int uartdata;
  15. unsigned int uartstatus;
  16. unsigned int uartctrl;
  17. unsigned int uartscaler;
  18. };
  19. #endif /* end of include guard: SERIAL_REG_H */