Checkpoint.
This commit is contained in:
parent
c4294d97ff
commit
0470abb353
@ -189,24 +189,24 @@ stm32l422cb = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_r
|
|||||||
stm32l422kb = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l422kb = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l422rb = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l422rb = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l422tb = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l422tb = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l431cb = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l431cb = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l431cc = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l431cc = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l431kb = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l431kb = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l431kc = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l431kc = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l431rb = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l431rb = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l431rc = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l431rc = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l431vc = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l431vc = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l432kb = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l432kb = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l432kc = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l432kc = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l433cb = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l433cb = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l433cc = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l433cc = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l433rb = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l433rb = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l433rc = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l433rc = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l433vc = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l433vc = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l442kc = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l442kc = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l443cc = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l443cc = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l443rc = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l443rc = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l443vc = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l443vc = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l451cc = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l451cc = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l451ce = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l451ce = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l451rc = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l451rc = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
@ -257,67 +257,67 @@ stm32l486qg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_r
|
|||||||
stm32l486rg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l486rg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l486vg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l486vg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l486zg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l486zg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l496ae = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l496ae = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l496ag = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l496ag = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l496qe = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l496qe = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l496qg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l496qg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l496re = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l496re = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l496rg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l496rg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l496ve = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l496ve = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l496vg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l496vg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l496wg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l496wg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l496ze = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l496ze = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l496zg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l496zg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l4a6ag = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l4a6ag = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l4a6qg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l4a6qg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l4a6rg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l4a6rg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l4a6vg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l4a6vg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l4a6zg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
stm32l4a6zg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4", "_syscfg", "_syscfg_l4", "_usart", "_usart_v2",]
|
||||||
stm32l4p5ae = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4p5ae = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4p5ag = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4p5ag = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4p5ce = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4p5ce = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4p5cg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4p5cg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4p5qe = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4p5qe = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4p5qg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4p5qg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4p5re = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4p5re = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4p5rg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4p5rg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4p5ve = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4p5ve = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4p5vg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4p5vg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4p5ze = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4p5ze = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4p5zg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4p5zg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4q5ag = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4q5ag = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4q5cg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4q5cg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4q5qg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4q5qg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4q5rg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4q5rg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4q5vg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4q5vg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4q5zg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4q5zg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4r5ag = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4r5ag = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4r5ai = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4r5ai = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4r5qg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4r5qg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4r5qi = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4r5qi = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4r5vg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4r5vg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4r5vi = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4r5vi = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4r5zg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4r5zg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4r5zi = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4r5zi = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4r7ai = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4r7ai = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4r7vi = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4r7vi = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4r7zi = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4r7zi = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4r9ag = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4r9ag = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4r9ai = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4r9ai = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4r9vg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4r9vg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4r9vi = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4r9vi = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4r9zg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4r9zg = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4r9zi = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4r9zi = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4s5ai = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4s5ai = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4s5qi = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4s5qi = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4s5vi = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4s5vi = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4s5zi = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4s5zi = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4s7ai = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4s7ai = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4s7vi = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4s7vi = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4s7zi = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4s7zi = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4s9ai = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4s9ai = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4s9vi = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4s9vi = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
stm32l4s9zi = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
stm32l4s9zi = [ "_dma", "_dma_v1", "_exti", "_exti_v1", "_gpio", "_gpio_v2", "_rng", "_rng_v1", "_spi", "_spi_v2", "_stm32l4p", "_syscfg", "_syscfg_l4",]
|
||||||
_dma = []
|
_dma = []
|
||||||
_dma_v1 = []
|
_dma_v1 = []
|
||||||
_dma_v2 = []
|
_dma_v2 = []
|
||||||
@ -327,6 +327,8 @@ _gpio = []
|
|||||||
_gpio_v2 = []
|
_gpio_v2 = []
|
||||||
_rng = [ "rand_core",]
|
_rng = [ "rand_core",]
|
||||||
_rng_v1 = []
|
_rng_v1 = []
|
||||||
|
_spi = []
|
||||||
|
_spi_v2 = []
|
||||||
_stm32f4 = []
|
_stm32f4 = []
|
||||||
_stm32l4 = []
|
_stm32l4 = []
|
||||||
_stm32l4p = []
|
_stm32l4p = []
|
||||||
|
@ -115,6 +115,9 @@ for chip in chips.values():
|
|||||||
if block_mod == 'rng':
|
if block_mod == 'rng':
|
||||||
f.write(f'impl_rng!({name});')
|
f.write(f'impl_rng!({name});')
|
||||||
|
|
||||||
|
if block_mod == 'spi':
|
||||||
|
f.write(f'impl_spi!({name});')
|
||||||
|
|
||||||
if block_mod == 'gpio':
|
if block_mod == 'gpio':
|
||||||
custom_singletons = True
|
custom_singletons = True
|
||||||
port = name[4:]
|
port = name[4:]
|
||||||
|
@ -17,11 +17,13 @@ pub mod exti;
|
|||||||
pub mod gpio;
|
pub mod gpio;
|
||||||
#[cfg(feature = "_rng")]
|
#[cfg(feature = "_rng")]
|
||||||
pub mod rng;
|
pub mod rng;
|
||||||
|
pub mod spi;
|
||||||
#[cfg(feature = "_usart")]
|
#[cfg(feature = "_usart")]
|
||||||
pub mod usart;
|
pub mod usart;
|
||||||
|
|
||||||
// This must go LAST so that it sees the `impl_foo!` macros
|
// This must go LAST so that it sees the `impl_foo!` macros
|
||||||
mod pac;
|
mod pac;
|
||||||
|
|
||||||
pub use embassy_macros::interrupt;
|
pub use embassy_macros::interrupt;
|
||||||
pub use pac::{interrupt, peripherals, Peripherals};
|
pub use pac::{interrupt, peripherals, Peripherals};
|
||||||
|
|
||||||
|
@ -6,23 +6,23 @@ pub fn GPIO(n: usize) -> gpio::Gpio {
|
|||||||
gpio::Gpio((0x40020000 + 0x400 * n) as _)
|
gpio::Gpio((0x40020000 + 0x400 * n) as _)
|
||||||
}
|
}
|
||||||
pub const DMA1: dma::Dma = dma::Dma(0x40026000 as _);
|
pub const DMA1: dma::Dma = dma::Dma(0x40026000 as _);
|
||||||
impl_dma_channel!(DMA1_CH0, DMA1, 0);
|
impl_dma_channel!(DMA1_CH0, 1, 0);
|
||||||
impl_dma_channel!(DMA1_CH1, DMA1, 1);
|
impl_dma_channel!(DMA1_CH1, 1, 1);
|
||||||
impl_dma_channel!(DMA1_CH2, DMA1, 2);
|
impl_dma_channel!(DMA1_CH2, 1, 2);
|
||||||
impl_dma_channel!(DMA1_CH3, DMA1, 3);
|
impl_dma_channel!(DMA1_CH3, 1, 3);
|
||||||
impl_dma_channel!(DMA1_CH4, DMA1, 4);
|
impl_dma_channel!(DMA1_CH4, 1, 4);
|
||||||
impl_dma_channel!(DMA1_CH5, DMA1, 5);
|
impl_dma_channel!(DMA1_CH5, 1, 5);
|
||||||
impl_dma_channel!(DMA1_CH6, DMA1, 6);
|
impl_dma_channel!(DMA1_CH6, 1, 6);
|
||||||
impl_dma_channel!(DMA1_CH7, DMA1, 7);
|
impl_dma_channel!(DMA1_CH7, 1, 7);
|
||||||
pub const DMA2: dma::Dma = dma::Dma(0x40026400 as _);
|
pub const DMA2: dma::Dma = dma::Dma(0x40026400 as _);
|
||||||
impl_dma_channel!(DMA2_CH0, DMA2, 0);
|
impl_dma_channel!(DMA2_CH0, 2, 0);
|
||||||
impl_dma_channel!(DMA2_CH1, DMA2, 1);
|
impl_dma_channel!(DMA2_CH1, 2, 1);
|
||||||
impl_dma_channel!(DMA2_CH2, DMA2, 2);
|
impl_dma_channel!(DMA2_CH2, 2, 2);
|
||||||
impl_dma_channel!(DMA2_CH3, DMA2, 3);
|
impl_dma_channel!(DMA2_CH3, 2, 3);
|
||||||
impl_dma_channel!(DMA2_CH4, DMA2, 4);
|
impl_dma_channel!(DMA2_CH4, 2, 4);
|
||||||
impl_dma_channel!(DMA2_CH5, DMA2, 5);
|
impl_dma_channel!(DMA2_CH5, 2, 5);
|
||||||
impl_dma_channel!(DMA2_CH6, DMA2, 6);
|
impl_dma_channel!(DMA2_CH6, 2, 6);
|
||||||
impl_dma_channel!(DMA2_CH7, DMA2, 7);
|
impl_dma_channel!(DMA2_CH7, 2, 7);
|
||||||
pub const EXTI: exti::Exti = exti::Exti(0x40013c00 as _);
|
pub const EXTI: exti::Exti = exti::Exti(0x40013c00 as _);
|
||||||
pub const GPIOA: gpio::Gpio = gpio::Gpio(0x40020000 as _);
|
pub const GPIOA: gpio::Gpio = gpio::Gpio(0x40020000 as _);
|
||||||
impl_gpio_pin!(PA0, 0, 0, EXTI0);
|
impl_gpio_pin!(PA0, 0, 0, EXTI0);
|
||||||
|
@ -128,6 +128,12 @@ impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
@ -180,6 +186,7 @@ pub use regs::dma_v1 as dma;
|
|||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
pub use regs::usart_v2 as usart;
|
pub use regs::usart_v2 as usart;
|
||||||
mod regs;
|
mod regs;
|
||||||
@ -194,7 +201,7 @@ peripherals!(
|
|||||||
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
||||||
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
||||||
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
||||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, USART1, USART2, USART3
|
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -128,6 +128,12 @@ impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
@ -180,6 +186,7 @@ pub use regs::dma_v1 as dma;
|
|||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
pub use regs::usart_v2 as usart;
|
pub use regs::usart_v2 as usart;
|
||||||
mod regs;
|
mod regs;
|
||||||
@ -194,7 +201,7 @@ peripherals!(
|
|||||||
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
||||||
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
||||||
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
||||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, USART1, USART2, USART3
|
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -128,6 +128,10 @@ impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
@ -158,6 +162,7 @@ pub use regs::dma_v1 as dma;
|
|||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
pub use regs::usart_v2 as usart;
|
pub use regs::usart_v2 as usart;
|
||||||
mod regs;
|
mod regs;
|
||||||
@ -172,7 +177,7 @@ peripherals!(
|
|||||||
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
||||||
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
||||||
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
||||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, USART1, USART2
|
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI3, SYSCFG, USART1, USART2
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -128,6 +128,10 @@ impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
@ -158,6 +162,7 @@ pub use regs::dma_v1 as dma;
|
|||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
pub use regs::usart_v2 as usart;
|
pub use regs::usart_v2 as usart;
|
||||||
mod regs;
|
mod regs;
|
||||||
@ -172,7 +177,7 @@ peripherals!(
|
|||||||
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
||||||
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
||||||
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
||||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, USART1, USART2
|
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI3, SYSCFG, USART1, USART2
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -128,6 +128,12 @@ impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
@ -180,6 +186,7 @@ pub use regs::dma_v1 as dma;
|
|||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
pub use regs::usart_v2 as usart;
|
pub use regs::usart_v2 as usart;
|
||||||
mod regs;
|
mod regs;
|
||||||
@ -194,7 +201,7 @@ peripherals!(
|
|||||||
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
||||||
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
||||||
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
||||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, USART1, USART2, USART3
|
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -128,6 +128,12 @@ impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
@ -180,6 +186,7 @@ pub use regs::dma_v1 as dma;
|
|||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
pub use regs::usart_v2 as usart;
|
pub use regs::usart_v2 as usart;
|
||||||
mod regs;
|
mod regs;
|
||||||
@ -194,7 +201,7 @@ peripherals!(
|
|||||||
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
||||||
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
||||||
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
||||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, USART1, USART2, USART3
|
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -128,6 +128,12 @@ impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
@ -180,6 +186,7 @@ pub use regs::dma_v1 as dma;
|
|||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
pub use regs::usart_v2 as usart;
|
pub use regs::usart_v2 as usart;
|
||||||
mod regs;
|
mod regs;
|
||||||
@ -194,7 +201,7 @@ peripherals!(
|
|||||||
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
||||||
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
||||||
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
||||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, USART1, USART2, USART3
|
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -94,6 +94,10 @@ impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
@ -119,6 +123,7 @@ pub use regs::dma_v1 as dma;
|
|||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
pub use regs::usart_v2 as usart;
|
pub use regs::usart_v2 as usart;
|
||||||
mod regs;
|
mod regs;
|
||||||
@ -131,7 +136,8 @@ peripherals!(
|
|||||||
PA0, PA1, PA2, PA3, PA4, PA5, PA6, PA7, PA8, PA9, PA10, PA11, PA12, PA13, PA14, PA15, PB0, PB1,
|
PA0, PA1, PA2, PA3, PA4, PA5, PA6, PA7, PA8, PA9, PA10, PA11, PA12, PA13, PA14, PA15, PB0, PB1,
|
||||||
PB2, PB3, PB4, PB5, PB6, PB7, PB8, PB9, PB10, PB11, PB12, PB13, PB14, PB15, PC0, PC1, PC2, PC3,
|
PB2, PB3, PB4, PB5, PB6, PB7, PB8, PB9, PB10, PB11, PB12, PB13, PB14, PB15, PC0, PC1, PC2, PC3,
|
||||||
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PH0, PH1, PH2, PH3, PH4, PH5,
|
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PH0, PH1, PH2, PH3, PH4, PH5,
|
||||||
PH6, PH7, PH8, PH9, PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, USART1, USART2
|
PH6, PH7, PH8, PH9, PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI3, SYSCFG, USART1,
|
||||||
|
USART2
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -94,6 +94,10 @@ impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
@ -119,6 +123,7 @@ pub use regs::dma_v1 as dma;
|
|||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
pub use regs::usart_v2 as usart;
|
pub use regs::usart_v2 as usart;
|
||||||
mod regs;
|
mod regs;
|
||||||
@ -131,7 +136,8 @@ peripherals!(
|
|||||||
PA0, PA1, PA2, PA3, PA4, PA5, PA6, PA7, PA8, PA9, PA10, PA11, PA12, PA13, PA14, PA15, PB0, PB1,
|
PA0, PA1, PA2, PA3, PA4, PA5, PA6, PA7, PA8, PA9, PA10, PA11, PA12, PA13, PA14, PA15, PB0, PB1,
|
||||||
PB2, PB3, PB4, PB5, PB6, PB7, PB8, PB9, PB10, PB11, PB12, PB13, PB14, PB15, PC0, PC1, PC2, PC3,
|
PB2, PB3, PB4, PB5, PB6, PB7, PB8, PB9, PB10, PB11, PB12, PB13, PB14, PB15, PC0, PC1, PC2, PC3,
|
||||||
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PH0, PH1, PH2, PH3, PH4, PH5,
|
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PH0, PH1, PH2, PH3, PH4, PH5,
|
||||||
PH6, PH7, PH8, PH9, PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, USART1, USART2
|
PH6, PH7, PH8, PH9, PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI3, SYSCFG, USART1,
|
||||||
|
USART2
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -128,6 +128,12 @@ impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
@ -180,6 +186,7 @@ pub use regs::dma_v1 as dma;
|
|||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
pub use regs::usart_v2 as usart;
|
pub use regs::usart_v2 as usart;
|
||||||
mod regs;
|
mod regs;
|
||||||
@ -194,7 +201,7 @@ peripherals!(
|
|||||||
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
||||||
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
||||||
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
||||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, USART1, USART2, USART3
|
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -128,6 +128,12 @@ impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
@ -180,6 +186,7 @@ pub use regs::dma_v1 as dma;
|
|||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
pub use regs::usart_v2 as usart;
|
pub use regs::usart_v2 as usart;
|
||||||
mod regs;
|
mod regs;
|
||||||
@ -194,7 +201,7 @@ peripherals!(
|
|||||||
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
||||||
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
||||||
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
||||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, USART1, USART2, USART3
|
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -128,6 +128,12 @@ impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
@ -180,6 +186,7 @@ pub use regs::dma_v1 as dma;
|
|||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
pub use regs::usart_v2 as usart;
|
pub use regs::usart_v2 as usart;
|
||||||
mod regs;
|
mod regs;
|
||||||
@ -194,7 +201,7 @@ peripherals!(
|
|||||||
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
||||||
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
||||||
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
||||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, USART1, USART2, USART3
|
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -128,6 +128,12 @@ impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
@ -180,6 +186,7 @@ pub use regs::dma_v1 as dma;
|
|||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
pub use regs::usart_v2 as usart;
|
pub use regs::usart_v2 as usart;
|
||||||
mod regs;
|
mod regs;
|
||||||
@ -194,7 +201,7 @@ peripherals!(
|
|||||||
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
||||||
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
||||||
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
||||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, USART1, USART2, USART3
|
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -128,6 +128,12 @@ impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
@ -180,6 +186,7 @@ pub use regs::dma_v1 as dma;
|
|||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
pub use regs::usart_v2 as usart;
|
pub use regs::usart_v2 as usart;
|
||||||
mod regs;
|
mod regs;
|
||||||
@ -194,7 +201,7 @@ peripherals!(
|
|||||||
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
||||||
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
||||||
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
||||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, USART1, USART2, USART3
|
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -94,6 +94,10 @@ impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
@ -119,6 +123,7 @@ pub use regs::dma_v1 as dma;
|
|||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
pub use regs::usart_v2 as usart;
|
pub use regs::usart_v2 as usart;
|
||||||
mod regs;
|
mod regs;
|
||||||
@ -131,7 +136,8 @@ peripherals!(
|
|||||||
PA0, PA1, PA2, PA3, PA4, PA5, PA6, PA7, PA8, PA9, PA10, PA11, PA12, PA13, PA14, PA15, PB0, PB1,
|
PA0, PA1, PA2, PA3, PA4, PA5, PA6, PA7, PA8, PA9, PA10, PA11, PA12, PA13, PA14, PA15, PB0, PB1,
|
||||||
PB2, PB3, PB4, PB5, PB6, PB7, PB8, PB9, PB10, PB11, PB12, PB13, PB14, PB15, PC0, PC1, PC2, PC3,
|
PB2, PB3, PB4, PB5, PB6, PB7, PB8, PB9, PB10, PB11, PB12, PB13, PB14, PB15, PC0, PC1, PC2, PC3,
|
||||||
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PH0, PH1, PH2, PH3, PH4, PH5,
|
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PH0, PH1, PH2, PH3, PH4, PH5,
|
||||||
PH6, PH7, PH8, PH9, PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, USART1, USART2
|
PH6, PH7, PH8, PH9, PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI3, SYSCFG, USART1,
|
||||||
|
USART2
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -128,6 +128,12 @@ impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
@ -180,6 +186,7 @@ pub use regs::dma_v1 as dma;
|
|||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
pub use regs::usart_v2 as usart;
|
pub use regs::usart_v2 as usart;
|
||||||
mod regs;
|
mod regs;
|
||||||
@ -194,7 +201,7 @@ peripherals!(
|
|||||||
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
||||||
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
||||||
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
||||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, USART1, USART2, USART3
|
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -128,6 +128,12 @@ impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
@ -180,6 +186,7 @@ pub use regs::dma_v1 as dma;
|
|||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
pub use regs::usart_v2 as usart;
|
pub use regs::usart_v2 as usart;
|
||||||
mod regs;
|
mod regs;
|
||||||
@ -194,7 +201,7 @@ peripherals!(
|
|||||||
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
||||||
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
||||||
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
||||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, USART1, USART2, USART3
|
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -128,6 +128,12 @@ impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
@ -180,6 +186,7 @@ pub use regs::dma_v1 as dma;
|
|||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
pub use regs::usart_v2 as usart;
|
pub use regs::usart_v2 as usart;
|
||||||
mod regs;
|
mod regs;
|
||||||
@ -194,7 +201,7 @@ peripherals!(
|
|||||||
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
||||||
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
||||||
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
||||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, USART1, USART2, USART3
|
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,6 +179,12 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
@ -236,6 +242,7 @@ pub use regs::dma_v1 as dma;
|
|||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
pub use regs::usart_v2 as usart;
|
pub use regs::usart_v2 as usart;
|
||||||
mod regs;
|
mod regs;
|
||||||
@ -253,7 +260,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG, USART1, USART2, USART3
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,6 +179,12 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
@ -236,6 +242,7 @@ pub use regs::dma_v1 as dma;
|
|||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
pub use regs::usart_v2 as usart;
|
pub use regs::usart_v2 as usart;
|
||||||
mod regs;
|
mod regs;
|
||||||
@ -253,7 +260,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG, USART1, USART2, USART3
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,6 +179,12 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
@ -236,6 +242,7 @@ pub use regs::dma_v1 as dma;
|
|||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
pub use regs::usart_v2 as usart;
|
pub use regs::usart_v2 as usart;
|
||||||
mod regs;
|
mod regs;
|
||||||
@ -253,7 +260,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG, USART1, USART2, USART3
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,6 +179,12 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
@ -236,6 +242,7 @@ pub use regs::dma_v1 as dma;
|
|||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
pub use regs::usart_v2 as usart;
|
pub use regs::usart_v2 as usart;
|
||||||
mod regs;
|
mod regs;
|
||||||
@ -253,7 +260,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG, USART1, USART2, USART3
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,6 +179,12 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
@ -236,6 +242,7 @@ pub use regs::dma_v1 as dma;
|
|||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
pub use regs::usart_v2 as usart;
|
pub use regs::usart_v2 as usart;
|
||||||
mod regs;
|
mod regs;
|
||||||
@ -253,7 +260,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG, USART1, USART2, USART3
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,6 +179,12 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
@ -236,6 +242,7 @@ pub use regs::dma_v1 as dma;
|
|||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
pub use regs::usart_v2 as usart;
|
pub use regs::usart_v2 as usart;
|
||||||
mod regs;
|
mod regs;
|
||||||
@ -253,7 +260,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG, USART1, USART2, USART3
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,6 +179,12 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
@ -236,6 +242,7 @@ pub use regs::dma_v1 as dma;
|
|||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
pub use regs::usart_v2 as usart;
|
pub use regs::usart_v2 as usart;
|
||||||
mod regs;
|
mod regs;
|
||||||
@ -253,7 +260,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG, USART1, USART2, USART3
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,6 +179,12 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
@ -236,6 +242,7 @@ pub use regs::dma_v1 as dma;
|
|||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
pub use regs::usart_v2 as usart;
|
pub use regs::usart_v2 as usart;
|
||||||
mod regs;
|
mod regs;
|
||||||
@ -253,7 +260,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG, USART1, USART2, USART3
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,6 +179,12 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
@ -236,6 +242,7 @@ pub use regs::dma_v1 as dma;
|
|||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
pub use regs::usart_v2 as usart;
|
pub use regs::usart_v2 as usart;
|
||||||
mod regs;
|
mod regs;
|
||||||
@ -253,7 +260,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG, USART1, USART2, USART3
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,6 +179,12 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
@ -236,6 +242,7 @@ pub use regs::dma_v1 as dma;
|
|||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
pub use regs::usart_v2 as usart;
|
pub use regs::usart_v2 as usart;
|
||||||
mod regs;
|
mod regs;
|
||||||
@ -253,7 +260,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG, USART1, USART2, USART3
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,6 +179,12 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
@ -236,6 +242,7 @@ pub use regs::dma_v1 as dma;
|
|||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
pub use regs::usart_v2 as usart;
|
pub use regs::usart_v2 as usart;
|
||||||
mod regs;
|
mod regs;
|
||||||
@ -253,7 +260,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG, USART1, USART2, USART3
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,6 +179,12 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
@ -236,6 +242,7 @@ pub use regs::dma_v1 as dma;
|
|||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
pub use regs::usart_v2 as usart;
|
pub use regs::usart_v2 as usart;
|
||||||
mod regs;
|
mod regs;
|
||||||
@ -253,7 +260,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG, USART1, USART2, USART3
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,6 +179,12 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
@ -236,6 +242,7 @@ pub use regs::dma_v1 as dma;
|
|||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
pub use regs::usart_v2 as usart;
|
pub use regs::usart_v2 as usart;
|
||||||
mod regs;
|
mod regs;
|
||||||
@ -253,7 +260,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG, USART1, USART2, USART3
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,6 +179,12 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
@ -236,6 +242,7 @@ pub use regs::dma_v1 as dma;
|
|||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
pub use regs::usart_v2 as usart;
|
pub use regs::usart_v2 as usart;
|
||||||
mod regs;
|
mod regs;
|
||||||
@ -253,7 +260,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG, USART1, USART2, USART3
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,6 +179,12 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
@ -236,6 +242,7 @@ pub use regs::dma_v1 as dma;
|
|||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
pub use regs::usart_v2 as usart;
|
pub use regs::usart_v2 as usart;
|
||||||
mod regs;
|
mod regs;
|
||||||
@ -253,7 +260,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG, USART1, USART2, USART3
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,6 +179,12 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
@ -236,6 +242,7 @@ pub use regs::dma_v1 as dma;
|
|||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
pub use regs::usart_v2 as usart;
|
pub use regs::usart_v2 as usart;
|
||||||
mod regs;
|
mod regs;
|
||||||
@ -253,7 +260,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG, USART1, USART2, USART3
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
|||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
impl_rng!(RNG);
|
impl_rng!(RNG);
|
||||||
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
|
impl_spi!(SPI1);
|
||||||
|
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||||
|
impl_spi!(SPI2);
|
||||||
|
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||||
|
impl_spi!(SPI3);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||||
pub use regs::dma_v1 as dma;
|
pub use regs::dma_v1 as dma;
|
||||||
pub use regs::exti_v1 as exti;
|
pub use regs::exti_v1 as exti;
|
||||||
pub use regs::gpio_v2 as gpio;
|
pub use regs::gpio_v2 as gpio;
|
||||||
pub use regs::rng_v1 as rng;
|
pub use regs::rng_v1 as rng;
|
||||||
|
pub use regs::spi_v2 as spi;
|
||||||
pub use regs::syscfg_l4 as syscfg;
|
pub use regs::syscfg_l4 as syscfg;
|
||||||
mod regs;
|
mod regs;
|
||||||
use embassy_extras::peripherals;
|
use embassy_extras::peripherals;
|
||||||
@ -200,7 +207,7 @@ peripherals!(
|
|||||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||||
PI13, PI14, PI15, RNG, SYSCFG
|
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||||
);
|
);
|
||||||
|
|
||||||
pub mod interrupt {
|
pub mod interrupt {
|
||||||
|
62
embassy-stm32/src/spi.rs
Normal file
62
embassy-stm32/src/spi.rs
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
pub use embedded_hal::spi::{Mode, Phase, Polarity, MODE_0, MODE_1, MODE_2, MODE_3};
|
||||||
|
use core::marker::PhantomData;
|
||||||
|
use embassy::interrupt::Interrupt;
|
||||||
|
use embedded_hal::blocking::spi::Write;
|
||||||
|
use crate::pac::spi
|
||||||
|
|
||||||
|
pub struct Spi<'d, T: Instance> {
|
||||||
|
peri: T,
|
||||||
|
irq: T::Interrupt,
|
||||||
|
phantom: PhantomData<&'d mut T>,
|
||||||
|
}
|
||||||
|
|
||||||
|
pub enum Error {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
impl<'d, T: Instance> embedded_hal::blocking::spi::Write<u8> for Spim<'d, T> {
|
||||||
|
type Error = Error;
|
||||||
|
|
||||||
|
fn write(&mut self, words: &[u8]) -> Result<(), Self::Error> {
|
||||||
|
let mut recv: &mut [u8] = &mut [];
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
mod sealed {
|
||||||
|
use super::*;
|
||||||
|
use embassy::util::AtomicWaker;
|
||||||
|
|
||||||
|
pub struct State {
|
||||||
|
pub end_waker: AtomicWaker,
|
||||||
|
}
|
||||||
|
|
||||||
|
impl State {
|
||||||
|
pub const fn new() -> Self {
|
||||||
|
Self {
|
||||||
|
end_waker: AtomicWaker::new(),
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
pub trait Instance {
|
||||||
|
fn regs() -> &'static crate::pac::spi::Spi;
|
||||||
|
fn state() -> &'static State;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
pub trait Instance: sealed::Instance + 'static {
|
||||||
|
type Interrupt: Interrupt;
|
||||||
|
}
|
||||||
|
|
||||||
|
macro_rules! impl_spi {
|
||||||
|
($inst:ident) => {
|
||||||
|
impl crate::spi::sealed::Instance for peripherals::$inst {
|
||||||
|
fn regs() -> crate::pac::spi::Spi {
|
||||||
|
crate::pac::$inst
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
impl crate::spi::Instance for peripherals::$inst {}
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user