Regarding the above question, I have to calculate the divisor value for the DLM and DLL registers. These are 8-bit registers used to store a 16-bit value. According to my calculations (and a table in the datasheet which I missed until after I calculated it) the divisor should be 576. To equates to a hex value of 240.
My questions are these:
Am I right in assuming that the DLM represents the most significant bit of the 16-bit value and DLL is the significant bit? Which would mean the answer 0x240 would be incorrect. Am I right in assuming that I have to calculate 576 in 16-bit binary, divide it into two 8-bit chunks, and then calculate the hex values for each chunk? If so, how would I represent that?
Attachments
-
482.1 KB Views: 1