riscv-rust / k210-pac

Peripheral access API crate (PAC) for K210 SoC, generated by svd2rust
29 stars 23 forks source link

UART #15

Closed laanwj closed 5 years ago

laanwj commented 5 years ago

Structure from lib/drivers/include/uart.h in SDK. Register descriptions from http://www.huge-ic.com/Communication%20Interface%20Peripheral%20User%27s%20Guide%20V0.1.pdf .

Did not fill in the field names and descriptions, the above PDF mentions them too, though, so this would be straightforward work if we can be confident enough that the part matches apart from the register offsets and names.

laanwj commented 5 years ago

Thanks, good catch. Updated to add <dim> and <dimIncrement>.