File tree Expand file tree Collapse file tree 13 files changed +13
-13
lines changed
Expand file tree Collapse file tree 13 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ fn main() -> ! {
2222
2323 // Constrain and Freeze clock
2424 let rcc = dp. RCC . constrain ( ) ;
25- let ccdr = rcc. sys_ck ( 250 . MHz ( ) ) . freeze ( pwrcfg, & dp. SBS ) ;
25+ let ccdr = rcc. sys_ck ( 250 . MHz ( ) ) . freeze ( & pwrcfg, & dp. SBS ) ;
2626
2727 let gpioa = dp. GPIOA . split ( ccdr. peripheral . GPIOA ) ;
2828 let mut led = gpioa. pa5 . into_push_pull_output ( ) ;
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ fn main() -> ! {
2424
2525 // Constrain and Freeze clock
2626 let rcc = dp. RCC . constrain ( ) ;
27- let ccdr = rcc. sys_ck ( 250 . MHz ( ) ) . freeze ( pwrcfg, & dp. SBS ) ;
27+ let ccdr = rcc. sys_ck ( 250 . MHz ( ) ) . freeze ( & pwrcfg, & dp. SBS ) ;
2828
2929 let channels = dp. GPDMA1 . channels ( ccdr. peripheral . GPDMA1 ) ;
3030
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ fn main() -> ! {
2828 // Constrain and Freeze clock
2929 info ! ( "Setup RCC... " ) ;
3030 let rcc = dp. RCC . constrain ( ) ;
31- let ccdr = rcc. sys_ck ( 250 . MHz ( ) ) . freeze ( pwrcfg, & dp. SBS ) ;
31+ let ccdr = rcc. sys_ck ( 250 . MHz ( ) ) . freeze ( & pwrcfg, & dp. SBS ) ;
3232
3333 let gpioa = dp. GPIOA . split ( ccdr. peripheral . GPIOA ) ;
3434 let mut led = gpioa. pa5 . into_push_pull_output ( ) ;
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ fn main() -> ! {
3131 . pll2_r_ck ( 3_024_000 . Hz ( ) )
3232 // pll2_p / 2 --> mco2
3333 . mco2_from_pll2_p_ck ( 7 . MHz ( ) )
34- . freeze ( pwrcfg, & dp. SBS ) ;
34+ . freeze ( & pwrcfg, & dp. SBS ) ;
3535
3636 // // Enable MCO2 output pin
3737 // let gpioc = dp.GPIOC.split(ccdr.peripheral.GPIOC);
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ fn main() -> ! {
2727 // Constrain and Freeze clock
2828 info ! ( "Setup RCC... " ) ;
2929 let rcc = dp. RCC . constrain ( ) ;
30- let ccdr = rcc. sys_ck ( 100 . MHz ( ) ) . freeze ( pwrcfg, & dp. SBS ) ;
30+ let ccdr = rcc. sys_ck ( 100 . MHz ( ) ) . freeze ( & pwrcfg, & dp. SBS ) ;
3131
3232 let gpiob = dp. GPIOB . split ( ccdr. peripheral . GPIOB ) ;
3333
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ fn main() -> ! {
2828 // Constrain and Freeze clock
2929 info ! ( "Setup RCC... " ) ;
3030 let rcc = dp. RCC . constrain ( ) ;
31- let ccdr = rcc. sys_ck ( 100 . MHz ( ) ) . freeze ( pwrcfg, & dp. SBS ) ;
31+ let ccdr = rcc. sys_ck ( 100 . MHz ( ) ) . freeze ( & pwrcfg, & dp. SBS ) ;
3232
3333 let gpiob = dp. GPIOB . split ( ccdr. peripheral . GPIOB ) ;
3434
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ fn main() -> ! {
2828 // Constrain and Freeze clock
2929 info ! ( "Setup RCC... " ) ;
3030 let rcc = dp. RCC . constrain ( ) ;
31- let ccdr = rcc. sys_ck ( 100 . MHz ( ) ) . freeze ( pwrcfg, & dp. SBS ) ;
31+ let ccdr = rcc. sys_ck ( 100 . MHz ( ) ) . freeze ( & pwrcfg, & dp. SBS ) ;
3232
3333 let gpiob = dp. GPIOB . split ( ccdr. peripheral . GPIOB ) ;
3434
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ fn main() -> ! {
2424 // Constrain and Freeze clock
2525 info ! ( "Setup RCC... " ) ;
2626 let rcc = dp. RCC . constrain ( ) ;
27- let ccdr = rcc. sys_ck ( 250 . MHz ( ) ) . freeze ( pwrcfg, & dp. SBS ) ;
27+ let ccdr = rcc. sys_ck ( 250 . MHz ( ) ) . freeze ( & pwrcfg, & dp. SBS ) ;
2828
2929 info ! ( "" ) ;
3030 info ! ( "stm32h5xx-hal example - RCC" ) ;
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ fn main() -> ! {
2828 let ccdr = rcc
2929 . sys_ck ( 192 . MHz ( ) )
3030 . pll1_q_ck ( 64 . MHz ( ) )
31- . freeze ( pwrcfg, & dp. SBS ) ;
31+ . freeze ( & pwrcfg, & dp. SBS ) ;
3232
3333 // Acquire the GPIOB peripheral. This also enables the clock for
3434 // GPIOB in the RCC register.
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ fn main() -> ! {
3737 let ccdr = rcc
3838 . sys_ck ( 192 . MHz ( ) )
3939 . pll1_q_ck ( 64 . MHz ( ) )
40- . freeze ( pwrcfg, & dp. SBS ) ;
40+ . freeze ( & pwrcfg, & dp. SBS ) ;
4141
4242 // Acquire the GPIOB peripheral. This also enables the clock for
4343 // GPIOB in the RCC register.
You can’t perform that action at this time.
0 commit comments