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

📄 readme.txt

📁 NE-STR750各部分的程序
💻 TXT
字号:
/******************** (C) COPYRIGHT 2006 STMicroelectronics ********************
* File Name          : Readme.txt
* Author             : MCD Application Team
* Date First Issued  : 03/10/2006
* Description        : Description of the MRCC Example.
********************************************************************************
* History:
* 06/20/2007 : V1.1
* The document is modified by New-Embed Co.Ltd(http://wwww.2embed.com) to fit the NE-STR750F board.
* 07/17/2006 : V1.0
* 03/10/2006 : V0.1 
********************************************************************************
* THE PRESENT SOFTWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
* AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
* INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
* CONTENT OF SUCH SOFTWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
* INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
*******************************************************************************/

Example description
===================
This example describes how to configure the different system clocks. It shows
how to use, for debug purpose, the MRCC_GetClocksStatus function to retrieve the
current status and frequencies of different on chip clocks.
It handles also the 4MHz external Quartz oscillator failure detection: when the
clock disappears on the XT1 pin (broken or disconnected external 4MHz Quartz),
the system automatically switches to the FREEOSC oscillator and an interrupt
(NCKD) is generated.
In this example, NCKD interrupt is generated indefinitely while there is no clock
detected on OSC4M. Once this clock is recovered the system clock is reconfigured
to its previous state.
A led connected to P0.12 pin is toggled with a frequency depending on the system
clock. If no clock is present on OSC4M this led stops toggling.


You can see the MRCC_Clocks structure content, which hold the status and
frequencies of different on chip clocks, using your toolchain debugger.

Note: When fetching from the embedded FLASH with HCLK clock higher than 32MHz,
the FLASH burst mode must be enabled.


Directory contents
==================
75x_conf.h  Library Configuration file
75x_it.c    Interrupt handlers
main.c      Main program


Hardware environment
====================
  - Connect a led to pin P0.12 (LD2 on NE-STR750F board).
 - On NE-STR750F board the 4MHz external Quartz oscillator is mounted on socket
   so it is easy to disconnect it.


How to use it
=============
In order to make the program work, you must do the following :
- Create a project and setup all your toolchain's start-up files
- Compile the directory content files and required Library files :
  + 75x_lib.c
  + 75x_gpio.c
  + 75x_mrcc.c
  + 75x_eic.c
  + 75x_cfg.c

- Link all compiled files and load your image into either RAM or Flash
- Run the example


******************* (C) COPYRIGHT 2006 STMicroelectronics *****END OF FILE******

⌨️ 快捷键说明

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