-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lpc2387/msba2/avsextrem: fix doxygen warnings
- Loading branch information
Showing
4 changed files
with
75 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,53 @@ | ||
/* | ||
* Copyright (C) 2015 Kaspar Schleiser <[email protected]> | ||
* | ||
* This file is subject to the terms and conditions of the GNU Lesser | ||
* General Public License v2.1. See the file LICENSE in the top level | ||
* directory for more details. | ||
*/ | ||
|
||
/** | ||
* @ingroup cpu_lpc2387 | ||
* @{ | ||
* | ||
* @file | ||
* @brief CPU specific definitions for internal peripheral handling | ||
* | ||
* @author Kaspar Schleiser <[email protected]> | ||
*/ | ||
|
||
#ifndef PERIPH_CPU_H_ | ||
#define PERIPH_CPU_H_ | ||
|
||
#include "cpu.h" | ||
#include "periph/dev_enums.h" | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
#ifndef PERIPH_CPU_H | ||
#define PERIPH_CPU_H | ||
|
||
#include <stdint.h> | ||
#include "cpu.h" | ||
|
||
/** | ||
* @brief LPC2387 MCU defines | ||
* @{ | ||
*/ | ||
#define __IO volatile | ||
|
||
/** | ||
* @brief Fast GPIO register definition struct | ||
*/ | ||
typedef struct { | ||
__IO uint32_t DIR; | ||
uint32_t _reserved[3]; | ||
__IO uint32_t MASK; | ||
__IO uint32_t PIN; | ||
__IO uint32_t SET; | ||
__IO uint32_t CLR; | ||
__IO uint32_t DIR; /**< he */ | ||
uint32_t _reserved[3]; /**< really */ | ||
__IO uint32_t MASK; /**< wants */ | ||
__IO uint32_t PIN; /**< to */ | ||
__IO uint32_t SET; /**< know */ | ||
__IO uint32_t CLR; /**< everything */ | ||
} FIO_PORT_t; | ||
|
||
#define FIO_PORTS ((FIO_PORT_t*)FIO_BASE_ADDR) | ||
|
@@ -38,4 +73,13 @@ typedef enum { | |
GPIO_BOTH = 3 /**< emit interrupt on both flanks */ | ||
} gpio_flank_t; | ||
|
||
#endif /* PERIPH_CPU_H */ | ||
/** | ||
* @} | ||
*/ | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif /* PERIPH_CPU_H_ */ | ||
/** @} */ |