User Activity

Hi all,I am trying to use STM8L051 port c pin 0 as an output to drive a NPN. But I find that PC0 & PC1 cannot be set by using ST HAL library. All the registers seems ok (DDR, ODR, CR1 & CR2). And PC4,5,6 can be driven. Can anyone please give me a han...