Merge #12
12: I2C update r=robamu a=robamu
- Added two missing bit fields for I2CA STATUS register: I2CIDLE and IDLE
- Made STATUS register read-only
Co-authored-by: Robin Mueller robin.mueller.m@gmail.com
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
PAC for the Vorago VA108xx microcontroller family
This repository contains the Peripheral Access Crate (PAC) for Voragos VA108xx series of Cortex-M0 based microcontrollers.
The crate was generated using
svd2rust.Usage
To use this crate, add this to your
Cargo.tomlThe
rtfeature is optional and recommended. It brings in support forcortex-m-rt.For full details on the autgenerated API, please see the svd2rust documentation.
Regenerating the PAC
The base file used by
svd2rustis generated using thesvdtoolspackage and a YAML patch file. You can create the patched file by running this command after installing the Pythonsvdtoolspackage:After that, you can regenerate the PAC by running the
gen-helper.shhelper script.