12.07.2015 Views

ATmega32A Datasheet - Sunrom Technologies

ATmega32A Datasheet - Sunrom Technologies

ATmega32A Datasheet - Sunrom Technologies

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>ATmega32A</strong>Figure 20-16. Formats and States in the Slave Receiver ModeReception of the ownslave address and one ormore data bytes. All areacknowledgedS SLA W A DATA ADATAAP or S$60 $80$80 $A0Last data byte receivedis not acknowledgedAP or S$88Arbitration lost as masterand addressed as slaveA$68Reception of the general calladdress and one or more databytesGeneral CallA DATA ADATAAP or S$70 $90$90 $A0Last data byte received isnot acknowledgedAP or S$98Arbitration lost as master andaddressed as slave by general callA$78From master to slaveDATAAAny number of data bytesand their associated acknowledge bitsFrom slave to masternThis number (contained in TWSR) correspondsto a defined state of the Two-wire Serial Bus. Theprescaler bits are zero or masked to zero20.7.4 Slave Transmitter ModeIn the Slave Transmitter mode, a number of data bytes are transmitted to a master receiver (seeFigure 20-17). All the status codes mentioned in this section assume that the prescaler bits arezero or are masked to zero.Figure 20-17. Data Transfer in Slave Transmitter ModeV CCDevice 1SLAVETRANSMITTERDevice 2MASTERRECEIVERDevice 3........ Device n R1 R2SDASCL8155C–AVR–02/11197

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!