Code: Select all
#option SCI_CK_PIN = PORTD.7
dim SCI_CK as SCI_CK_PIN.SCI_CK_PIN@
dim SCI_CK_TRIS as ??????
If not, can some sort of macro work (ie SCI_CK_TRIS_HIGH()/SCI_CK_TRIS_LOW())?
I don't want to compute it at runtime. I'm looking for a method that lets me control the tris for the pin in a single instruction, and that will change if I change the #option for the pin definition.