riscv-rust / k210-pac

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

I2c support #2

Closed burrbull closed 5 years ago

Disasm commented 5 years ago

Thanks! I've updated the code with newer version of svd2rust to make things consistent. If you are going to contribute other peripherals, please update library code in separate commit: it makes your changes easier to review.

Disasm commented 5 years ago

As for "clear on read": SVD format has dedicated property for this: readAction. However, I doubt it is supported in svd2rust.