?? ce004_readme.txt
字號:
Readme File for Code Example:
CE004 - Timer1 used in Real-Time Clock Applications
---------------------------------------------------
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.
This file provides a brief description of files and folders provided
in the accompanying workspace.
This folder contains the following files:
1. This file
This file provides a description of the functionality demonstr-
ated by the example source code.
2. Real_Time_Clock.mcw, Real_Time_Clock.mcp, Real_Time_Clock.mcs
These are MPLAB
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -