text: /******************************************************************************
   *
   * Freescale Semiconductor Inc.
   * (c) Copyright 2004-2010 Freescale Semiconductor, Inc.
   * ALL RIGHTS RESERVED.
   *
   ******************************************************************************
   *
   * THIS SOFTWARE IS PROVIDED BY FREESCALE "AS IS" AND ANY EXPRESSED OR 
   * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 
   * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  
   * IN NO EVENT SHALL FREESCALE OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 
   * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
   * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 
   * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 
   * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 
   * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 
   * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 
   * THE POSSIBILITY OF SUCH DAMAGE.
   *
   **************************************************************************//*!
   *
   * @file : audio_pwm.h$
   *
   * @author
   *
   * @version
   *
   * @date    
   *
   * @brief   
   *****************************************************************************/
  
  #ifndef _PWM_HEADER_H
  #define _PWM_HEADER_H
  /******************************************************************************
   * Includes
   *****************************************************************************/
  #include "derivative.h"     /* include peripheral declarations */
  #include "types.h"          /* Contains User Defined Data Types */
  
  /*****************************************************************************
   * Constant and Macro's
   *****************************************************************************/
  #if (defined(_MCF51MM256_H) || (defined _MCF51JE256_H))
  #define duty TPM1C2V
  #endif
  #ifdef MCU_MKL25Z4
  #define duty TPM0_C0V
  #endif
  /******************************************************************************
   * Types
   *****************************************************************************/
  
  /*****************************************************************************
   * Global Functions Prototypes
   *****************************************************************************/
  extern void pwm_init(void);
  
  #endif /* _PWM_HEADER_H */
  