260x Filetype PDF File size 1.87 MB Source: bpb-us-w2.wpmucdn.com
ECE 3567 Microcontrollers Lab
Lecture #2 – The Microcontroller &
Embedded C Programming
Autumn 2019
Dr. Gregg Chapman
1
Numbering
The Hexadecimal Number System.
Hexadecimal Values of Bit Positions
(Used to read or write register values)
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
1 1 0 0 0 0 0 0 0xC0
0 0 0 0 0 0 1 1 0x03
1 1 0 0 0 1 1 1 0xC7
0 0 0 0 1 1 1 1 0x0F
1 1 1 1 0 0 0 0 0xF0
0 0 0 0 0 0 0 0 0x00
0 1 0 1 0 1 0 1 0x55
1 0 1 0 1 0 1 0 0xAA
1 1 1 1 1 1 1 1 0xFF
no reviews yet
Please Login to review.