4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-16 20:03:29 +08:00

33 lines
907 B
C

/*
Copyright 2020 Shenzhen Academy of Aerospace Technology
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Change Logs:
Date Author Notes
2020-10-16 Dystopia the first version
*/
#ifndef SERIAL_REG_H
#define SERIAL_REG_H
struct uart_reg
{
unsigned int uartdata;
unsigned int uartstatus;
unsigned int uartctrl;
unsigned int uartscaler;
};
#endif /* end of include guard: SERIAL_REG_H */