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 UC3C_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 UC3C_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 UC3C_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.