⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 freescale

📁 Freescale 系列单片机常用模块与综合系统设计
💻
字号:
/** ###################################################################
**     THIS COMPONENT MODULE IS GENERATED BY THE TOOL. DO NOT MODIFY IT.
**     Filename  : RTC1.H
**     Project   : rtc
**     Processor : MC9S08JM60CLHE
**     Component : Init_RTC
**     Version   : Component 01.017, Driver 01.09, CPU db: 3.00.046
**     Compiler  : CodeWarrior HCS08 C Compiler
**     Date/Time : 2010-1-9, 20:41
**     Abstract  :
**          This file implements the API (RTC) module 
**          initialization according to the Peripheral Initialization 
**          Bean settings, and defines interrupt service routines prototypes.
**          The Autonomous periodical Interrupt module can generate
**          periodical interrupts independent of the clock source of 
**          the MCU. To enable the timer, the bit APIFE needs to be 
**          set. The API timer is either clocked by a trimmable 
**          internal RC oscillator or the bus clock. Timer operation
**          will freeze when MCU clock source is selected and bus clock 
**          is turned off. The clock source can be selected with bit
**          APICLK. As soon as the configured timeout period of the API 
**          has elapsed, the APIF bit is set. An interrupt, indicated by 
**          flag APIF = 1, is triggered if interrupt enable bit APIE = 1.
**     Settings  :
**          Bean name                                      : RTC1
**          Device                                         : RTC
**          Settings                                       : 
**            Clock settings                               : 
**              Clock select                               : 1-kHz low power oscillator
**              Prescaler                                  : OFF
**              RTC modulo value                           : 0
**              Period                                     : ?
**          Interrupts                                     : 
**            Interrupt                                    : Vrtc
**            RTC Interrupt                                : Enabled
**            ISR name                                     : Rtc_Timer
**          Initialization                                 : 
**            NON_MCU_INIT                                 : 
**              Call Init method                           : yes
**     Contents  :
**         Init - void RTC1_Init(void);
**
**     Copyright : 1997 - 2009 Freescale Semiconductor, Inc. All Rights Reserved.
**     
**     http      : www.freescale.com
**     mail      : support@freescale.com
** ###################################################################*/

#ifndef __RTC1
#define __RTC1

/* MODULE RTC1. */

/* Include shared modules, which are used for whole project */
#include "PE_Types.h"
#include "PE_Error.h"
#include "PE_Const.h"
#include "IO_Map.h"
/* Include inherited beans */

#include "Cpu.h"




/*
** ===================================================================
** The interrupt service routine must be implemented by user in one
** of the user modules (see RTC1.c file for more information).
** ===================================================================
*/
__interrupt void Rtc_Timer(void);

void RTC1_Init(void);
/*
** ===================================================================
**     Method      :  RTC1_Init (component Init_RTC)
**
**     Description :
**         This method initializes registers of the RTC module
**         according to this Peripheral Initialization Bean settings.
**         Call this method in the user code to initialize the
**         module. By default, the method is called by PE
**         automatically; see "Call Init method" property of the
**         bean for more details.
**     Parameters  : None
**     Returns     : Nothing
** ===================================================================
*/

/* END RTC1. */

#endif
/* ifndef __RTC1 */
/*
** ###################################################################
**
**     This file was created by Processor Expert 3.07 [04.34]
**     for the Freescale HCS08 series of microcontrollers.
**
** ###################################################################
*/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -