Morning all
I'm currently working with a TAS1020B, which is an 8051/8052 derivative.
After much glaring through the imho inadequate sections of the datasheet on GPIO, i'm still left unsure of how to set the data direction per pin of a GPIO bank.
Can someone help me out? Clearly writing 1 or 0 to a bit in P1 or P3 will raise and lower the level of the respective pin, but how does one make a pin into an input?
I cant seem to find what i'm looking for in the datasheet, or any other 8051/2 documentation. Must be missing something...
Thanks in advance
Rich