Export ClockSource and WaveformGenerationMode for each timer
This commit is contained in:
parent
302095dca2
commit
c11738600f
|
@ -1,7 +1,10 @@
|
||||||
//! Modules that can be implemented for specific cores.
|
//! Modules that can be implemented for specific cores.
|
||||||
|
|
||||||
pub use self::spi::HardwareSpi;
|
pub use self::spi::HardwareSpi;
|
||||||
pub use self::timer::{Timer8, Timer8Setup, Timer16, Timer16Setup};
|
pub use self::timer::{
|
||||||
|
Timer8, Timer8Setup, ClockSource8, WaveformGenerationMode8,
|
||||||
|
Timer16, Timer16Setup, ClockSource16, WaveformGenerationMode16,
|
||||||
|
};
|
||||||
pub use self::usart::HardwareUsart;
|
pub use self::usart::HardwareUsart;
|
||||||
|
|
||||||
mod spi;
|
mod spi;
|
||||||
|
|
|
@ -1,6 +1,11 @@
|
||||||
pub use self::timer8::{Timer8, Timer8Setup};
|
pub use self::timer8::{
|
||||||
pub use self::timer16::{Timer16, Timer16Setup};
|
ClockSource as ClockSource8, Timer8, Timer8Setup,
|
||||||
|
WaveformGenerationMode as WaveformGenerationMode8,
|
||||||
|
};
|
||||||
|
pub use self::timer16::{
|
||||||
|
ClockSource as ClockSource16, Timer16, Timer16Setup,
|
||||||
|
WaveformGenerationMode as WaveformGenerationMode16,
|
||||||
|
};
|
||||||
|
|
||||||
mod timer8;
|
mod timer8;
|
||||||
mod timer16;
|
mod timer16;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue