File tree Expand file tree Collapse file tree 3 files changed +9
-8
lines changed
Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ use crate::hal::blocking::delay::{DelayMs, DelayUs};
88use crate :: rcc:: Clocks ;
99
1010/// System timer (SysTick) as a delay provider
11- #[ derive( Debug ) ]
1211pub struct Delay {
1312 clocks : Clocks ,
1413 syst : SYST ,
Original file line number Diff line number Diff line change @@ -24,22 +24,25 @@ pub use embedded_hal as hal;
2424
2525pub use stm32l4;
2626#[ cfg( feature = "stm32l4x1" ) ]
27- pub use stm32l4:: stm32l4x1 as stm32 ;
27+ pub use stm32l4:: stm32l4x1 as pac ;
2828
2929#[ cfg( feature = "stm32l4x2" ) ]
30- pub use stm32l4:: stm32l4x2 as stm32 ;
30+ pub use stm32l4:: stm32l4x2 as pac ;
3131
3232#[ cfg( feature = "stm32l4x3" ) ]
33- pub use stm32l4:: stm32l4x3 as stm32 ;
33+ pub use stm32l4:: stm32l4x3 as pac ;
3434
3535#[ cfg( feature = "stm32l4x5" ) ]
36- pub use stm32l4:: stm32l4x5 as stm32 ;
36+ pub use stm32l4:: stm32l4x5 as pac ;
3737
3838#[ cfg( feature = "stm32l4x6" ) ]
39- pub use stm32l4:: stm32l4x6 as stm32 ;
39+ pub use stm32l4:: stm32l4x6 as pac ;
4040
4141#[ cfg( feature = "rt" ) ]
42- pub use self :: stm32:: interrupt;
42+ pub use self :: pac:: interrupt;
43+
44+ pub use crate :: pac as device;
45+ pub use crate :: pac as stm32;
4346
4447pub mod datetime;
4548#[ cfg( any(
Original file line number Diff line number Diff line change @@ -70,7 +70,6 @@ impl ChannelPin<TSC> for PB7<Alternate<AF9, Output<PushPull>>> {
7070 const OFFSET : u32 = 3 ;
7171}
7272
73- #[ derive( Debug ) ]
7473pub struct Tsc < SPIN > {
7574 sample_pin : SPIN ,
7675 tsc : TSC
You can’t perform that action at this time.
0 commit comments