summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/lm/lm_gpio.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-09 14:48:55 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-09 14:48:55 +0000
commit25f65f6524fe5c6508de38300796e1183051ab3b (patch)
tree3b685616dd8e36f94fabb4c9ce2dc19c9065b394 /nuttx/arch/arm/src/lm/lm_gpio.h
parent6afb58c74e1b0bbfe3306e1a3a00d31462c598fa (diff)
downloadpx4-nuttx-25f65f6524fe5c6508de38300796e1183051ab3b.tar.gz
px4-nuttx-25f65f6524fe5c6508de38300796e1183051ab3b.tar.bz2
px4-nuttx-25f65f6524fe5c6508de38300796e1183051ab3b.zip
Rename LM3S files, variables, and types from lm3s_ to lm_; Rename configuration variables from CONFIG_LM3S_ to CONFIG_LM_
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5497 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/lm/lm_gpio.h')
-rw-r--r--nuttx/arch/arm/src/lm/lm_gpio.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/nuttx/arch/arm/src/lm/lm_gpio.h b/nuttx/arch/arm/src/lm/lm_gpio.h
index 9577fd926..1447eb065 100644
--- a/nuttx/arch/arm/src/lm/lm_gpio.h
+++ b/nuttx/arch/arm/src/lm/lm_gpio.h
@@ -53,7 +53,7 @@
* Pre-processor Definitions
************************************************************************************/
-/* Bit-encoded input to lm3s_configgpio() *******************************************/
+/* Bit-encoded input to lm_configgpio() *********************************************/
/* Encoding:
* FFFS SPPP IIIn nnnn nnnn nnnn VPPP PBBB
@@ -161,57 +161,57 @@ extern "C"
{
#endif
-/****************************************************************************
+/************************************************************************************
* Public Function Prototypes
- ****************************************************************************/
+ ************************************************************************************/
-/****************************************************************************
- * Name: lm3s_configgpio
+/************************************************************************************
+ * Name: lm_configgpio
*
* Description:
* Configure a GPIO pin based on bit-encoded description of the pin.
*
- ****************************************************************************/
+ ************************************************************************************/
-int lm3s_configgpio(uint32_t cfgset);
+int lm_configgpio(uint32_t cfgset);
-/****************************************************************************
- * Name: lm3s_gpiowrite
+/************************************************************************************
+ * Name: lm_gpiowrite
*
* Description:
* Write one or zero to the selected GPIO pin
*
- ****************************************************************************/
+ ************************************************************************************/
-void lm3s_gpiowrite(uint32_t pinset, bool value);
+void lm_gpiowrite(uint32_t pinset, bool value);
-/****************************************************************************
- * Name: lm3s_gpioread
+/************************************************************************************
+ * Name: lm_gpioread
*
* Description:
* Read one or zero from the selected GPIO pin
*
- ****************************************************************************/
+ ************************************************************************************/
-bool lm3s_gpioread(uint32_t pinset, bool value);
+bool lm_gpioread(uint32_t pinset, bool value);
-/****************************************************************************
- * Function: lm3s_dumpgpio
+/************************************************************************************
+ * Function: lm_dumpgpio
*
* Description:
* Dump all GPIO registers associated with the provided base address
*
- ****************************************************************************/
+ ************************************************************************************/
-int lm3s_dumpgpio(uint32_t pinset, const char *msg);
+int lm_dumpgpio(uint32_t pinset, const char *msg);
-/****************************************************************************
+/************************************************************************************
* Name: gpio_irqinitialize
*
* Description:
* Initialize all vectors to the unexpected interrupt handler
*
- ****************************************************************************/
+ ************************************************************************************/
int weak_function gpio_irqinitialize(void);