Академический Документы
Профессиональный Документы
Культура Документы
1. Quick Revision
2. ATmega 32 : I/O Ports and Programming
1
2
3
TOPICS TO COVER TODAY
1. Quick Revision
2. ATmega 32 : I/O Ports and Programming
4
5
Application
Programs
6
Checksum byte
Like parity generator, this ensure data
integrity in ROM.
7
Checksum byte
Steps to generate checksum byte
1. Add byte together and neglect carries
2. Take 2s complement of the total sum.
8
Checksum byte
9
Checksum byte
10
Question..
Write an AVR C program to calculate Checksum Byte
for Hex numbers 0x25, 0x62, 0x3F and 0x52.
.
11
12
13