Hi everyone,
This is my first post. I hope I will more and more post because I want to learn a lot of things about embedded.
So, I am working on addressable led which has ws2811 ic and I want to write library about it and I am using the Hal library. I am trying now. But I didn't understand something.
I have to send data DMA to peripheral(GPIO). I know I can set this std library with below.
DMA_InitStructure.DMA_PeripheralBaseAddr = (uint32_t)&GPIOA->ODR;
DMA_InitStructure.DMA_MemoryBaseAddr = (uint32_t)WS2812_IO_High;