apb126
所属分类:处理器开发
开发工具:C/C++
文件大小:5KB
下载次数:11
上传日期:2006-02-12 11:15:04
上 传 者:
dom
说明: ARM STR7 APB编程例子,对理解它的应用有一定的参考价值
(ARM STR7 APB programming examples, the right understanding of it is a good reference value)
文件列表:
apb\71x_conf.h (2276, 2005-06-02)
apb\71x_it.c (13384, 2005-06-02)
apb\main.c (1724, 2005-06-02)
apb\scat.scf (1255, 2005-06-02)
apb\realview\apb.prj (2014, 2005-06-02)
apb\realview (0, 2006-02-12)
apb (0, 2006-02-12)
*** This README.TXT file comes with the STR71x Software Library ***
*******************************************************************************
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 is just a theoretical program which demonstrates how to use
the APB software library and shows some features of the APB peripheral, which
can for example:
- Disable/Enable clock gating for each peripheral,
- Disable/Enable reset for each peripheral.
This example performs the following:
- Disable the I2C0 & I2C1 clocks,
- Keep I2C0 and I2C1 under Reset,
- Enable clocks for UART 0 1 2 3,
- Disable Reset for UART 0 1 2 3.
Directory contents
==================
scat.scf Scatter file
71x_conf.h Library Configuration file
71x_it.c Interrupt handlers
main.c Main program
Hardware implementation
=======================
This example works as standalone on the STR7-Eval board (mb393) and
extra hardware implementation is not required to run the example.
How to use it
=============
In order to make the program work, you must do the following :
- Just compile and run it.
(C) COPYRIGHT 2003 STMicroelectronics
近期下载者:
相关文件:
收藏者: