📄 readme.txt
字号:
/******************** (C) COPYRIGHT 2005 STMicroelectronics **********************
* File Name : Readme.txt
* Author : MCD Application Team
* Date First Issued : 09/27/2005 : V1.0
* Description : Description of the GPIO example
**********************************************************************************
* History:
* 09/27/2005 : V1.0
*********************************************************************************
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 guides the user to :
- configure GPIO4 as output push-pull
- write on the GPIO4 port
It is made of 3 steps :
1) GPIO4 configuration in output push-pull mode to use STR73x-Eval board's leds
2) Drive leds connected to the GPIO4 pins:
- Set led connected to PIN0
- Reset led connected to PIN0
- Set GPIO4 LSB
- Set GPIO4 MSB
- Reset all GPIO4 pins
- Set all GPIO4 pins
3) Make a loop on all GPIO4 connected leds
- Set GPIO4 pins one by one in a sequence.
Directory contents
==================
73x_conf.h Library Configuration file
73x_it.c Interrupt handlers
main.c Main program
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 :
+ 73x_lib.c
+ 73x_cfg.c
+ 73x_gpio.c
- Link all compiled files and load your image into either RAM or Flash
- Run the example
- Check the toggling of GPIO4 pins.
******************* (C) COPYRIGHT 2005 STMicroelectronics *****END OF FILE****
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -