I’m using the STM32F405 on the Bee board and I’d like to use RLP and EM blocks for register access. Can you please give me thoughts on what the c++ code would look like to do this?
Something like this:
If you just want to read/write a few registers, then you don’t need RLP. GHI provides GHI.Processor.Register class for that.
Yes, I’ve used GHI.Processor.Register class
but I’m trying to speed my main app up by adding chunks of it to RLP. I’ve decided to try something simpler first like switching one of the digital outputs using RLP. I’ll come back to this one afterwards.
Personally I set up the port in managed code and write to the port register from RLP, but you can do the entire thing in RLP if you want.
First thing you need to do is get a copy of the user anual for the mcu you are using And dig into the GPIO section.
Can you please give me a code example of how to set up the port in managed code and write to the port register from RLP?