<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
<title>Timer 0</title>
|
<title>Timer 0</title>
|
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
</head><body>
|
</head><body>
|
<!-- Generated by Doxygen 1.2.16 -->
|
<!-- Generated by Doxygen 1.2.16 -->
|
<center>
|
<center>
|
<a class="qindex" href="main.html">Main Page</a> <a class="qindex" href="modules.html">Modules</a> <a class="qindex" href="pages.html">Related Pages</a> </center>
|
<a class="qindex" href="main.html">Main Page</a> <a class="qindex" href="modules.html">Modules</a> <a class="qindex" href="pages.html">Related Pages</a> </center>
|
<hr><h1>Timer 0<br>
|
<hr><h1>Timer 0<br>
|
<small>
|
<small>
|
[<a class="el" href="group__pavr__hwres__iof__perif.html">Peripherals</a>]</small>
|
[<a class="el" href="group__pavr__hwres__iof__perif.html">Peripherals</a>]</small>
|
</h1><table border=0 cellpadding=0 cellspacing=0>
|
</h1><table border=0 cellpadding=0 cellspacing=0>
|
</table>
|
</table>
|
<dl compact><dt><b>
|
<dl compact><dt><b>
|
Features</b><dd>
|
Features</b><dd>
|
The IO File register that holds the current count is TCNT0. <br>
|
The IO File register that holds the current count is TCNT0. <br>
|
Its behavior is controlled by a set of other IO File registers:<ul>
|
Its behavior is controlled by a set of other IO File registers:<ul>
|
<li>TIFR (Timer Interrupt Flag Register) holds the Timer 0 interrupt flag: <br>
|
<li>TIFR (Timer Interrupt Flag Register) holds the Timer 0 interrupt flag: <br>
|
<br>
|
<br>
|
<div align="center">
|
<div align="center">
|
<img src="pavr_hwres_iof_perif_t0_02.gif" alt="pavr_hwres_iof_perif_t0_02.gif">
|
<img src="pavr_hwres_iof_perif_t0_02.gif" alt="pavr_hwres_iof_perif_t0_02.gif">
|
</div>
|
</div>
|
<br>
|
<br>
|
<li>TIMSK (Timer Interrupt Mask) contains the flag that enables/disables Timer 0 interrupt: <br>
|
<li>TIMSK (Timer Interrupt Mask) contains the flag that enables/disables Timer 0 interrupt: <br>
|
<br>
|
<br>
|
<div align="center">
|
<div align="center">
|
<img src="pavr_hwres_iof_perif_t0_03.gif" alt="pavr_hwres_iof_perif_t0_03.gif">
|
<img src="pavr_hwres_iof_perif_t0_03.gif" alt="pavr_hwres_iof_perif_t0_03.gif">
|
</div>
|
</div>
|
<br>
|
<br>
|
<li>TCCR0 (Timer 0 Control Register) register defines the prescaling source of Timer 0. <br>
|
<li>TCCR0 (Timer 0 Control Register) register defines the prescaling source of Timer 0. <br>
|
When external input pin is selected, Timer 0 clock source will be the line 0 of <a class="el" href="group__pavr__hwres__iof__perif__pa.html">port A</a>: <br>
|
When external input pin is selected, Timer 0 clock source will be the line 0 of <a class="el" href="group__pavr__hwres__iof__perif__pa.html">port A</a>: <br>
|
<br>
|
<br>
|
<div align="center">
|
<div align="center">
|
<img src="pavr_hwres_iof_perif_t0_01.gif" alt="pavr_hwres_iof_perif_t0_01.gif">
|
<img src="pavr_hwres_iof_perif_t0_01.gif" alt="pavr_hwres_iof_perif_t0_01.gif">
|
</div>
|
</div>
|
<br>
|
<br>
|
<br>
|
<br>
|
</ul>
|
</ul>
|
</dl><hr><address align="right"><small>Generated on Tue Dec 31 20:26:30 2002 for Pipelined AVR microcontroller by
|
</dl><hr><address align="right"><small>Generated on Tue Dec 31 20:26:30 2002 for Pipelined AVR microcontroller by
|
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
<img src="doxygen.png" alt="doxygen" align="middle" border=0
|
<img src="doxygen.png" alt="doxygen" align="middle" border=0
|
width=110 height=53></a>1.2.16 </small></address>
|
width=110 height=53></a>1.2.16 </small></address>
|
</body>
|
</body>
|
</html>
|
</html>
|
|
|