Morning E,hi C,
As you know a WORD is 16 Bits ie 2 * 8 Bit Bytes
You write WORD.HB to TMR0.HB and WORD.LB to TMR0.LB
Is this what you are asking.?
''Oshonsoft as
TMR0.LB = WORD.LB
TMR0.HB = WORD.HB
E
That does not apply to this application. This PIC has a buffer for the high byte of the timer. When the low byte of the timer is read the PIC hardware copies the high byte to this buffer, then you read the high byte which actually reads the buffer. Therefore there is no worry about update between the two readings. A similar process applies when writing. You write the high byte first to the buffer then when you write the low byte the hardware copies the high byte from the buffer.If you really want to get into details, read thru this link.
http://www.pcbheaven.com/picpages/The_Timer_Modules_Timer1/
What does that mean?hi A,
Sorry to disagree.
The operation of a 16 bit Timer is controlled by the program flow.
E
What do you find confusing about it?Here is the confusing section from the D/S.
It simply means that the program code is written in the correct syntax as to control the operation of PIC's internal hardware modules.What does that mean?
Everything is controlled by the program flow.
Hi E,But, the TS is using Oshonsoft Basic not Assembler, the Basic compiler will correctly determine which machine code to use to get the correct operation.
E