tinyusb-sys 0.1.1

Bindings to the tinyusb library
#![no_std]
#![allow(non_snake_case)]
#![allow(non_camel_case_types)]
#![allow(non_upper_case_globals)]
#![allow(unaligned_references)]
#![allow(clippy::too_many_arguments)]
#![allow(clippy::redundant_static_lifetimes)]
#![allow(clippy::missing_safety_doc)]
#![allow(clippy::transmute_int_to_bool)]


include!(concat!(env!("OUT_DIR"), "/bindings.rs"));


#[cfg(feature = "host")]
mod host {
    #[no_mangle]
    extern "C" fn hcd_int_disable(_rhport: u8) {}

    #[no_mangle]
    extern "C" fn hcd_int_enable(_rhport: u8) {}
}

#[cfg(feature = "device")]
mod host {
    #[no_mangle]
    extern "C" fn dcd_int_disable(_rhport: u8) {}

    #[no_mangle]
    extern "C" fn dcd_int_enable(_rhport: u8) {}
}