git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1013 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
26ba1c43bb
commit
10ff25a6d3
|
@ -24,13 +24,13 @@
|
||||||
* Tricks required to make the TRUE/FALSE declaration inside the library
|
* Tricks required to make the TRUE/FALSE declaration inside the library
|
||||||
* compatible.
|
* compatible.
|
||||||
*/
|
*/
|
||||||
|
#ifndef __STM32F10x_MAP_H
|
||||||
#undef FALSE
|
#undef FALSE
|
||||||
#undef TRUE
|
#undef TRUE
|
||||||
#ifndef __STM32F10x_MAP_H
|
|
||||||
#include "stm32f10x_map.h"
|
#include "stm32f10x_map.h"
|
||||||
#endif
|
|
||||||
#define FALSE 0
|
#define FALSE 0
|
||||||
#define TRUE (!FALSE)
|
#define TRUE (!FALSE)
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This module requires the port driver.
|
* This module requires the port driver.
|
||||||
|
|
|
@ -403,7 +403,7 @@
|
||||||
*
|
*
|
||||||
* <h2>Usage</h2>
|
* <h2>Usage</h2>
|
||||||
* The use of I/O ports requires the inclusion of the header file @p ioports.h,
|
* The use of I/O ports requires the inclusion of the header file @p ioports.h,
|
||||||
* this file is not automatically included @o ch.h like the other header
|
* this file is not automatically included @p ch.h like the other header
|
||||||
* files.
|
* files.
|
||||||
*
|
*
|
||||||
* @ingroup IO
|
* @ingroup IO
|
||||||
|
|
|
@ -27,8 +27,16 @@
|
||||||
#ifndef _IOPORTS_LLD_H_
|
#ifndef _IOPORTS_LLD_H_
|
||||||
#define _IOPORTS_LLD_H_
|
#define _IOPORTS_LLD_H_
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Tricks required to make the TRUE/FALSE declaration inside the library
|
||||||
|
* compatible.
|
||||||
|
*/
|
||||||
#ifndef __STM32F10x_MAP_H
|
#ifndef __STM32F10x_MAP_H
|
||||||
|
#undef FALSE
|
||||||
|
#undef TRUE
|
||||||
#include "stm32f10x_map.h"
|
#include "stm32f10x_map.h"
|
||||||
|
#define FALSE 0
|
||||||
|
#define TRUE (!FALSE)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file src/templates/ioports_lld.h
|
* @file src/templates/ioports_lld.h
|
||||||
* @brief I/O ports low level driver
|
* @brief I/O ports low level driver template
|
||||||
* @addtogroup IOPortsLLD
|
* @addtogroup IOPortsLLD
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue