cyt2bl

Crates.iocyt2bl
lib.rscyt2bl
version0.0.1
sourcesrc
created_at2023-03-20 23:28:55.875883
updated_at2023-03-20 23:28:55.875883
descriptionPeripheral access crate for cyt2bl T2G family
homepage
repositoryhttps://github.com/Infineon/traveo-t2g-pal/tree/develop/pal_crates/cyt2bl
max_upload_size
id815698
size4,674
(AthiraRamakrishna)

documentation

https://docs.rs/cyt2bl

README

Supported Device Family

cyt2bl

Supported Crates

crate svd version
cyt2bl_a 1.0.0

Using device meta-package crate in your project

In your own project's Cargo.toml:

[dependencies.cyt2bl]
version = "0.0.1"
features = ["<one of the supported revisions>", "rt", "critical-section"]

The rt feature is optional. See svd2rust for details.

The critical-section feature is optional. See critical-section for details.

Usage of device meta-package in your code:

use cyt2bl as pac;

let mut peripherals = pac::Peripherals::take().unwrap();

By default cyt2bl refers to the latest revision of the supported crates, if your project requires a specific revision, you can pass it as a feature in your project's cargo.toml file. This way of using meta package you dont have to change your project code each time you change the revision.

Resource

Documents

Commit count: 0

cargo fmt