Forum : Ride IDE
Original Post
Post Information | Post |
---|---|
November 24, 2015 - 11:29am
|
Hi everybody, Because it's too simple for my algorithm, I would like to access to GPIOC8 to 15 without using lot of mask. I want to use pointer : The result is that GPIOC_H and GPIOC_L are the same and equal to 0xFF. I think it's a problem of alignment ?? |
Ok, I have an explanation.
"When a 16- or 8-bit access is performed on an APB register, the access is transformed into
a 32-bit access: the bridge duplicates the 16- or 8-bit data to feed the 32-bit vector."
Great, Thank you for the explanation.