PDA

View Full Version : PWM register contents - explanation


cwkoehler
07-27-05, 11:34 PM
Hello,

I have used the following to get the contents of the PWMA registers:
E00 @ . 0 OK
E01 @ . 0 OK
E02 @ . -55FF OK
E03 @ . -7EFF OK
E04 @ . 0 OK
E05 @ . 0 OK
E06 @ . 0 OK
E07 @ . 0 OK
E08 @ . 0 OK
E09 @ . 0 OK
E0A @ . 0 OK
E0B @ . 0 OK
E0C @ . FF OK
E0D @ . 0 OK
E0E @ . 0 OK
E0F @ . 2 OK

How do I interpret the minus signs as displayed in E02 and E03? Thanks in advance

cwkoehler

nmitech
07-28-05, 12:11 AM
. displays Signed Integer (-32768 to 32767)
where,
U. displays Unsigned Integer (0 to 65535)

Try,
E02 @ U.
E03 @ U.

cwkoehler
07-28-05, 10:54 PM
thank you

cwkoehler