CC2650 Device Support Crate
Embedded Rust access API for TI CC2650 microcontrollers.
This crate provides an autogenerated API interacting with the CC2650 and its peripherals. The API is generated using svd2rust via dslite2svd.
Usage
To use, in your Cargo.toml:
[]
= "0.1"
The rt
feature is optional and brings in support for cortex-m-rt:
[]
= { = "0.1", = ["rt"] }
Examples
See my blog post about creating this crate.
Note: The following example assumes you are using Rust 2018, I.e. Rust >= 1.31.
use cc2650;
Supported Devices
- CC2650 — Datasheet, Product Page
Note: There are other devices in the CC26x0 family that may also work but these have not been tested.
Generating
This crate was generated from SVD files generated by dslite2svd.
License
This project is dual licenced under:
- Apache License, Version 2.0 (LICENSE-APACHE OR http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT OR http://opensource.org/licenses/MIT)