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 STK600-RCUC3L0

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 1 for UC3L_EK

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 STK600-RCUC3L0

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 2 for UC3L_EK

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 UC3-L0 Xplained

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 UC3L_EK

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 4 for STK600-RCUC3L0

Set-up one TC channel configured in capture mode (input). Upon a GPIO pin change, an event triggers a TC.Ai capture.

TC Example 4 for UC3L_EK

Set-up one TC channel configured in capture mode (input). Upon a GPIO pin change, an event triggers a TC.Ai capture.

Timer/Counter Example 1 for AT32UC3L064 in AVR Simulator

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