Bit Configuration in the Timer Cell
When a timer is started, the contents of the timer cell are used as the time value. Bits 0 through 11 of the timer cell contain the time value in binary coded decimal format (BCD format: each group of four bits contains the binary code for one decimal value). Bits 12 and 13 contain the time base in binary code. The following Figure shows the contents of the timer cell loaded with timer value 127 with a time base of 1 second.
0 comments:
Post a Comment