diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-12-27 20:07:17 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-12-27 20:07:17 +0000 |
commit | 815dcf2d24ce8b8b00a637fbeb5f0d56fdc583cf (patch) | |
tree | e56731c6fd8ab4493b3d056a589b0c83052a1577 /nuttx/arch/mips/src/pic32mx/pic32mx-internal.h | |
parent | 8deca84debb66a97f9d57ed0299659196e31b5f2 (diff) | |
download | px4-nuttx-815dcf2d24ce8b8b00a637fbeb5f0d56fdc583cf.tar.gz px4-nuttx-815dcf2d24ce8b8b00a637fbeb5f0d56fdc583cf.tar.bz2 px4-nuttx-815dcf2d24ce8b8b00a637fbeb5f0d56fdc583cf.zip |
Updates for PIC32MX USB driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4233 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/mips/src/pic32mx/pic32mx-internal.h')
-rw-r--r-- | nuttx/arch/mips/src/pic32mx/pic32mx-internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/mips/src/pic32mx/pic32mx-internal.h b/nuttx/arch/mips/src/pic32mx/pic32mx-internal.h index 004d4eeea..5d6a8e060 100644 --- a/nuttx/arch/mips/src/pic32mx/pic32mx-internal.h +++ b/nuttx/arch/mips/src/pic32mx/pic32mx-internal.h @@ -57,7 +57,7 @@ /* GPIO settings used in the configport, readport, writeport, etc. * * General encoding: - * MMxV Ixxx RRRx PPPP + * MMxV IIxx RRRx PPPP */ #define GPIO_MODE_SHIFT (14) /* Bits 14-15: I/O mode */ @@ -70,7 +70,7 @@ # define GPIO_VALUE_ONE (1 << 12) # define GPIO_VALUE_ZERO (0) -#define GPIO_INT_SHIFT (14) /* Bits 10-11: Interrupt mode */ +#define GPIO_INT_SHIFT (10) /* Bits 10-11: Interrupt mode */ #define GPIO_INT_MASK (3 << GPIO_INT_SHIFT) # define GPIO_INT_NONE (0 << GPIO_INT_SHIFT) /* Bit 00: No interrupt */ # define GPIO_INT (1 << GPIO_INT_SHIFT) /* Bit 01: Change notification enable */ |