Microchip® Advanced Software Framework

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Related Project(s)

In this section you can find all the projects related to the TC - Timer/Counter.

Example(s)

TC Example 1 for EVK1100

Using the TC module, set-up a Timer/Counter to output a 10.16% duty cycle square wave on TIOA0. Switch the device into the FROZEN sleep mode (thus still maintaining the TC activity).

TC Example 2 for EVK1100

This example involves 2 timer/counter channels, one configured in capture mode(input) and the other configured in Waveform mode(output) to generate a PWM on the output.

TC Example 3 for EVK1100

Set-up a timer/counter and generate a "tick" interrupt each millisecond to toggle a pin. Display the number of elapsed ms (updated every second) on a USART.

TC Example 3 for EVK1105

Set-up a timer/counter and generate a "tick" interrupt each millisecond to toggle a pin. Display the number of elapsed ms (updated every second) on a USART.

Timer/Counter Example 1 for AT32UC3A0512 in AVR Simulator

Using the TC module, generate an interrupt every 10 milliseconds and check its functionality in AVR Studio 5 Simulator.