ce113_readme.txt

来自「关于PIC的一些常用例程」· 文本 代码 · 共 35 行

TXT
35
字号
                     Readme File for Code Example:
               CE113 - Timer1 used in Real-Time Clock Applications
               ---------------------------------------------------

This file contains the following sections:
1. Code Example Description
2. Folder Contents
3. Suggested Development Resources
4. Reconfiguring the project for a different dsPIC33F device
5. Revision History


1. Code Example Description:
----------------------------

dsPIC Digital Signal Controllers feature several on-chip general-purpose
timers. Of these, the Timer1 module has the capability to be clocked by
an external asynchronous 32KHz crystal connected to the device via the
SOSCI and SOSCO pins. The attached code example demonstrates how Timer1
may be configured to use the 32KHz secondary oscillator for a real-time
clock (RTC) application.
Configuring Timer1 for the real-time clock application is a two-step
process. In the first step, the code demonstrates how the secondary
oscillator may be enabled via a special write sequence to the OSCCON
register. In the second step, the code demonstrates how the Timer1
is configured for using an external asynchronous clock. In addition
to these steps, the code also demonstrates Timer1 interrupt operation.


2. Folder Contents:
-------------------
This folder contains the following sub-folders:
a. C:\Program Files\Microchip\MPLAB C30\support\gld
        This folder will have the device GLD file, it is used for building the project. 
	This file was provided with the MPLAB

⌨️ 快捷键说明

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