In my application with c167, I want to use PORT0 and PORT1 as general I/O , but it dosen't work. In my application ,I made the pin EA keep a high level ,and in the code i initialization the BUSSCON0 as 0 , then i used the ports , but i faild. pls help me , and sorry for my poor english! thank you !!
Q: Can I ask if you are really using a C167 and not a XC167? A: the ports does not work .but thank you all the same. and some wonder why threads get off track? Erik
The answer to your question comes back to reading the manual, DP1L is an Extended SFR (ESFR) so you need.
extr #1 bset DP1L.1
Thank you Chris , thank you! you are right , the problem is that DP1L is an Extended SFR (ESFR) .