summaryrefslogtreecommitdiffstats
path: root/nuttx/arch/mips/src/pic32mx/pic32mx-reset.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2011-05-16 18:59:30 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2011-05-16 18:59:30 +0000
commita12f3b693d73cdab75887961ead4eb176248c162 (patch)
tree7c7cfdee3d4fe31b41f6ea0f7153c3ab79fb1735 /nuttx/arch/mips/src/pic32mx/pic32mx-reset.h
parent0f1298dba3b26fc60e8a44a246545ba87b74dc65 (diff)
Completes all PIC32 header files
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@3618 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/arch/mips/src/pic32mx/pic32mx-reset.h')
-rwxr-xr-xnuttx/arch/mips/src/pic32mx/pic32mx-reset.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/nuttx/arch/mips/src/pic32mx/pic32mx-reset.h b/nuttx/arch/mips/src/pic32mx/pic32mx-reset.h
index 1ba54be68e..5e1721796a 100755
--- a/nuttx/arch/mips/src/pic32mx/pic32mx-reset.h
+++ b/nuttx/arch/mips/src/pic32mx/pic32mx-reset.h
@@ -1,4 +1,4 @@
-/****************************************************************************
+/************************************************************************************
* arch/mips/src/pic32mx/pic32mx-reset.h
*
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
@@ -31,23 +31,23 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
- ****************************************************************************/
+ ************************************************************************************/
#ifndef __ARCH_MIPS_SRC_PIC32MX_PIC32MX_RESET_H
#define __ARCH_MIPS_SRC_PIC32MX_PIC32MX_RESET_H
-/****************************************************************************
+/************************************************************************************
* Included Files
- ****************************************************************************/
+ ************************************************************************************/
#include <nuttx/config.h>
#include "pic32mx-memorymap.h"
-/****************************************************************************
+/************************************************************************************
* Pre-Processor Definitions
- ****************************************************************************/
-/* Register Offsets *********************************************************/
+ ************************************************************************************/
+/* Register Offsets *****************************************************************/
#define PIC32MX_RESET_RCON_OFFSET 0x0000 /* Reset control register */
#define PIC32MX_RESET_RCONCLR_OFFSET 0x0004 /* RCON clear register */
@@ -58,7 +58,7 @@
#define PIC32MX_RESET_RSWRSTSET_OFFSET 0x0018 /* RSWRST set register */
#define PIC32MX_RESET_RSWRSTINV_OFFSET 0x001c /* RSWRST invert register */
-/* Register Addresses *******************************************************/
+/* Register Addresses ***************************************************************/
#define PIC32MX_RESET_RCON (PIC32MX_RESET_K1BASE+PIC32MX_RCON_OFFSET)
#define PIC32MX_RESET_RCONCLR (PIC32MX_RESET_K1BASE+PIC32MX_RCONCLR_OFFSET)
@@ -69,7 +69,7 @@
#define PIC32MX_RESET_RSWRSTSET (PIC32MX_RESET_K1BASE+PIC32MX_RSWRSTSET_OFFSET)
#define PIC32MX_RESET_RSWRSTINV (PIC32MX_RESET_K1BASE+PIC32MX_RSWRSTINV_OFFSET)
-/* Register Bit-Field Definitions *******************************************/
+/* Register Bit-Field Definitions ***************************************************/
/* Reset control register */
@@ -87,19 +87,19 @@
#define RESET_RSWRST_TRIGGER (1 << 0) /* Bit 0: Software reset trigger */
-/****************************************************************************
+/************************************************************************************
* Public Types
- ****************************************************************************/
+ ************************************************************************************/
#ifndef __ASSEMBLY__
-/****************************************************************************
+/************************************************************************************
* Inline Functions
- ****************************************************************************/
+ ************************************************************************************/
-/****************************************************************************
+/************************************************************************************
* Public Function Prototypes
- ****************************************************************************/
+ ************************************************************************************/
#ifdef __cplusplus
#define EXTERN extern "C"