cancel
Showing results for 
Search instead for 
Did you mean: 

Port inside GPIO

mj
Associate II
Posted on March 25, 2008 at 05:31

Port inside GPIO

12 REPLIES 12
lanchon
Associate III
Posted on May 17, 2011 at 12:26

@eric,

of course, but the problem as I understood it was to write 8 non-consecutive bits, presumably with other used signals in between, with data from an 8 bit number.

again, the fastest way (if that's important, I don't know) is to wri
bob239955
Associate II
Posted on May 17, 2011 at 12:26

Hi Janis:-), actually because you unnecessarily used |= operator (for the write only BSRR register) I was hinting that all the bits would get set if the |= operator had been necessary.

You only need use the assignment operator =

The BSRR register always reads as 0

Best regards:-D

[ This message was edited by: bobz on 20-03-2008 13:23 ]

mj
Associate II
Posted on May 17, 2011 at 12:26

Thank you for the answers, I think they are useful for me. I'll try it with the BSRR.

If there is any other problem, I'll ask once again.