#drone #drone-tisl-map #mapping #peripheral #operating #ti #operating-system

nightly drone-tisl-map-periph-tim

TI(TM) peripheral mappings for Drone, an Embedded Operating System

1 unstable release

0.13.0 Dec 5, 2020

#18 in #drone-tisl-map


Used in drone-tisl-map

MIT/Apache

19KB
441 lines

crates.io maintenance

drone-tisl-map

Texas Instruments SimpleLink™ peripheral mappings for Drone, an Embedded Operating System.

This crate uses CMSIS-SVD files based on TI CCS target db to automatically generate Drone register and interrupt bindings. However only the corresponding Product Specification is the single source of truth. A difference between this crate bindings and the Product Specification is considered a bug. Fixing such a bug is not a breaking change.

This crate re-exports the contents of drone_cortexm::map module and is a drop-in replacement for it.

Supported Devices

tisl_mcu Core name Product specification Available features
cc2538 ARM® Cortex®-M3 r2p0 SWRU319C gpio ioc sysctrl tim uart

tisl_mcu config flag should be set at the application level according to this table.

Documentation

The API documentation intentionally skips auto-generated [reg] and [thr] bindings. Otherwise it would use several gigabytes of space and would be very slow to render in a browser. One should refer to the Product Specification instead. And to get an idea of what the API looks like on the Drone side, look at the drone_cortexm::map module documentation.

Usage

Add the crate to your Cargo.toml dependencies:

[dependencies]
drone-tisl-map = { version = "0.13.0", features = [...] }

Add or extend std feature as follows:

[features]
std = ["drone-tisl-map/std"]

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


lib.rs:

Timers.

Dependencies

~5–7MB
~137K SLoC