Lec9 - EE319K IntroductiontoMicrocontrollers...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
9-1 EE 319K Introduction to Microcontrollers Lecture 9:I/O Synchronization; LCD  Interfacing; Implementing Local  Variables using a Stack Frame;  Parameter Passing
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Ramesh Yerraballi 9-2 I/O Synchronization Blind Cycle Counting Synchronization Blind cycle counting is appropriate when the I/ O delay is fixed and known. This type of  synchronization is blind because it provides  no feedback from the I/O back to the  computer. Gadfly or Busy Waiting Synchronization Check busy/ready flag over and over until it is  ready Interrupt Synchronization Request interrupt when busy/ready flag is  ready
Background image of page 2
Ramesh Yerraballi 9-3 Input Sync Input device Software Busy T ime W ait Read W Ready W Process ReadProcess Busy-wait:  S/W must wait for the i/p device to be ready B lind Cycle W ait a fixed time data Busy- W S tatus Interrupt F ifo Get data from Fifo Empty Put data in F return from interrupt Some Synchronizing with an i/p device
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Ramesh Yerraballi 9-4 Output Sync Output device Software Busy T ime W ait W rite W Ready W Generate W W Busy-wait:  S/W must wait for the o/p device finish the previous operation W rite data W W Get data from F
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/25/2010 for the course EE 319K taught by Professor Bard during the Spring '08 term at University of Texas at Austin.

Page1 / 12

Lec9 - EE319K IntroductiontoMicrocontrollers...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online