crocklip
Junior Member level 1
What is this command?
Hi,
I have been trying to convert some C code for an ATMEL2323 chip to code for a Microchip 16F877a.
The line of code for the 2323 chip that I cannot understand is this:
count += (count_hi << 8) + inp(TCNT0); // get counter value
where the count_hi is an overflow accumulator.
what does the inp() command do? and how could I implement this to a 16f887a?
Any help at all would be great!
Thanks.
Hi,
I have been trying to convert some C code for an ATMEL2323 chip to code for a Microchip 16F877a.
The line of code for the 2323 chip that I cannot understand is this:
count += (count_hi << 8) + inp(TCNT0); // get counter value
where the count_hi is an overflow accumulator.
what does the inp() command do? and how could I implement this to a 16f887a?
Any help at all would be great!
Thanks.