I need some help/advice/tip on how to short two 2 ports in MSP430 software wise.
set P4.4 to be equal to P2.6
I need some help/advice/tip on how to short two 2 ports in MSP430 software wise.
set P4.4 to be equal to P2.6
You can't do that I'm afraid.
You'll either have to
P2.6
regularly and accept some lag on how soon P4.4
will follow it (and miss any transitions which are smaller than the poll time)P2.6
can generate an interrupt, copy the value from P2.6
to P4.4
in a small interrupt service routine. You'll be able to deal with shorter events this way. But you'll have to accept that if you get lots of transitions on that pin, you're processor will be very busy!Microcontroller 3 state GPIO's don't provide this sort of configurability. As an alternative, you could