Compiler Refusing To Recognize &htim2->Instance->CCR1 Register access.
Hi All,
I want to access the MCU registers.
CMSIS provides in this accessing.
CMSIS paths all included in the compiler includes.
However the compiler refuses to recognize the access and complaints about type confilct and what not.
All attached screenshots added in editing order, please look at them for clarification.
HAL Library direct register access NOK 0.png => necessary compiler includes OK
HAL Library direct register access NOK 0a.png => editor helps completing expression !
HAL Library direct register access NOK 0b.png => editor helps completing expression !
HAL Library direct register access NOK 1.png => everything is file for the editor, no complaint about unresolved issues
HAL Library direct register access NOK 2.png => compiler cries like a baby about the expression.
What am I missing here?
Greets,
Ben