thannara123
Advanced Member level 5
0
I am using STM32F103 ,CUBE IDE with HAL library , I am trying to write the outport as giving a 4 bit value to the entire port (16bit ) By using a shift bit operator . Can I directly apply that data to the port as follows. GPIO_PORTA |= 0x0ff; Like wise Or how to write it
I am using STM32F103 ,CUBE IDE with HAL library , I am trying to write the outport as giving a 4 bit value to the entire port (16bit ) By using a shift bit operator . Can I directly apply that data to the port as follows. GPIO_PORTA |= 0x0ff; Like wise Or how to write it