E electricity86 New Member Feb 16, 2009 #1 Normally, if I set a GPIO pin as an Input pin, for example, P1_2, and then i command: P1_2 = 0; What does it do? Thanks.
Normally, if I set a GPIO pin as an Input pin, for example, P1_2, and then i command: P1_2 = 0; What does it do? Thanks.
Nigel Goodwin Super Moderator Most Helpful Member Feb 16, 2009 #2 Nothing whatsoever (to the outside world), although it will write to the output port buffer inside the chip.
Nothing whatsoever (to the outside world), although it will write to the output port buffer inside the chip.
E electricity86 New Member Feb 16, 2009 #3 Alright, thank you very much. I read about a pin in my MCU that is cold software controlled peripheral VDD, which is the P1_2 that the code set as input and wrote 0 to it. Do you know in genral what is the pin's duty?
Alright, thank you very much. I read about a pin in my MCU that is cold software controlled peripheral VDD, which is the P1_2 that the code set as input and wrote 0 to it. Do you know in genral what is the pin's duty?
Nigel Goodwin Super Moderator Most Helpful Member Feb 17, 2009 #4 electricity86 said: Alright, thank you very much. I read about a pin in my MCU that is cold software controlled peripheral VDD, which is the P1_2 that the code set as input and wrote 0 to it. Do you know in genral what is the pin's duty? Click to expand... No idea, read what the datasheet says.
electricity86 said: Alright, thank you very much. I read about a pin in my MCU that is cold software controlled peripheral VDD, which is the P1_2 that the code set as input and wrote 0 to it. Do you know in genral what is the pin's duty? Click to expand... No idea, read what the datasheet says.