Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
PWM unit Test for SAM4S Documentation

Introduction

This is the unit test application for the PWM driver. It consists of test cases for the following functionality:

  • PWM period interrupt
  • PWM comparison interrupt
  • PWM PDC transfer interrupt

Main Files

Device Info

All SAM devices can be used. This example has been tested with the following setup:

  • sam3n4c_sam3n_ek
  • sam3s4c_sam3s_ek
  • sam3sd8c_sam3s_ek2
  • sam3u4e_sam3u_ek
  • sam3x8h_sam3x_ek
  • sam4s16c_sam4s_ek
  • sam4sd32c_sam4s_ek2
  • sam4sd32c_atpl230amb
  • sam4n16c_sam4n_xplained_pro
  • sam4c16c_sam4c_ek
  • sam4cmp16c_sam4cmp_db
  • sam4cms16c_sam4cms_db

Compilation info

This software was written for the GNU GCC and IAR for ARM. Other compilers may or may not work.

Contact Information

For further information, visit Microchip.
Support and FAQ: https://www.microchip.com/support/