06.08.2013 Views

Embedding OS in AVR microcontrollers - DAIICT Intranet

Embedding OS in AVR microcontrollers - DAIICT Intranet

Embedding OS in AVR microcontrollers - DAIICT Intranet

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

<strong>in</strong>teger.c<br />

➲ This does the same as flop.c, but uses variables<br />

of type long <strong>in</strong>stead of type double.<br />

➲ As with flop.c, the tasks created <strong>in</strong> this file<br />

are a good test of the scheduler context<br />

switch mechanism.<br />

➲ The processor has to access 32-bit variables<br />

<strong>in</strong> two or four chunks (depend<strong>in</strong>g on<br />

the processor).<br />

➲ The low priority of these tasks means there<br />

is a high probability that a context switch<br />

will occur mid calculation.

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

Saved successfully!

Ooh no, something went wrong!