C
ChronoFish
- Jan 1, 1970
- 0
It's been a while since I've done any PIC programming, and even then it was just a single project. So please excuse my ignorance
here...
In the 16c84 there you configure an I/O "mask" by setting the TRIS register for it's associated port.
In the 12c508a there is only one port - the gpio. The datasheet indicates that you give the gpio an I/O "mask" with the TRIS
register, but it doesn't tell you where the TRIS register is located. Actually it specifies it as "N/A".
I'm trying to program this little PIC with C2C (sorry guys - I'm a software guy - not a hardware guy and I'm very uncomfortable with
assembly - even if it only has 35 instructions) - but it doesn't define a TRIS register for the 12c5XX series.
Any insight would be greatly appreciated.
Thanks!
CF
here...
In the 16c84 there you configure an I/O "mask" by setting the TRIS register for it's associated port.
In the 12c508a there is only one port - the gpio. The datasheet indicates that you give the gpio an I/O "mask" with the TRIS
register, but it doesn't tell you where the TRIS register is located. Actually it specifies it as "N/A".
I'm trying to program this little PIC with C2C (sorry guys - I'm a software guy - not a hardware guy and I'm very uncomfortable with
assembly - even if it only has 35 instructions) - but it doesn't define a TRIS register for the 12c5XX series.
Any insight would be greatly appreciated.
Thanks!
CF