mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 10:58:49 +08:00
Standardize the width of all comment boxes in C header files
This commit is contained in:
parent
7ced84c5f0
commit
9caf33e13b
33 changed files with 185 additions and 185 deletions
|
@ -1,4 +1,4 @@
|
|||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* arch/arm/include/efm32s/efm32g_irq.h
|
||||
*
|
||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||
|
@ -31,7 +31,7 @@
|
|||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/* This file should never be included directed but, rather, only indirectly
|
||||
* through nuttx/irq.h
|
||||
|
@ -40,13 +40,13 @@
|
|||
#ifndef __ARCH_ARM_INCLUDE_EFM32G_IRQ_H
|
||||
#define __ARCH_ARM_INCLUDE_EFM32G_IRQ_H
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/* IRQ numbers. The IRQ number corresponds vector number and hence map
|
||||
* directly to bits in the NVIC. This does, however, waste several words of
|
||||
|
@ -91,13 +91,13 @@
|
|||
|
||||
#define NR_VECTORS (EFM32_IRQ_INTERRUPTS+30)
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Public Types
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Public Data
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
#ifdef __cplusplus
|
||||
|
@ -108,9 +108,9 @@ extern "C"
|
|||
#define EXTERN extern
|
||||
#endif
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#undef EXTERN
|
||||
#ifdef __cplusplus
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* arch/arm/include/efm32s/efm32gg_irq.h
|
||||
*
|
||||
* Copyright (C) 2014 Pierre-noel Bouteville . All rights reserved.
|
||||
|
@ -31,7 +31,7 @@
|
|||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/* This file should never be included directed but, rather, only indirectly
|
||||
* through nuttx/irq.h
|
||||
|
@ -40,13 +40,13 @@
|
|||
#ifndef __ARCH_ARM_INCLUDE_EFM32GG_IRQ_H
|
||||
#define __ARCH_ARM_INCLUDE_EFM32GG_IRQ_H
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/* IRQ numbers. The IRQ number corresponds vector number and hence map
|
||||
* directly to bits in the NVIC. This does, however, waste several words of
|
||||
|
@ -100,13 +100,13 @@
|
|||
|
||||
#define NR_VECTORS (EFM32_IRQ_INTERRUPTS+39)
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Public Types
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Public Data
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
#ifdef __cplusplus
|
||||
|
@ -117,9 +117,9 @@ extern "C"
|
|||
#define EXTERN extern
|
||||
#endif
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#undef EXTERN
|
||||
#ifdef __cplusplus
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* arch/arm/include/efm32s/efm32tg_irq.h
|
||||
*
|
||||
* Copyright (C) 2014 Pierre-noel Bouteville . All rights reserved.
|
||||
|
@ -31,7 +31,7 @@
|
|||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/* This file should never be included directed but, rather, only indirectly
|
||||
* through nuttx/irq.h
|
||||
|
@ -40,13 +40,13 @@
|
|||
#ifndef __ARCH_ARM_INCLUDE_EFM32TG_IRQ_H
|
||||
#define __ARCH_ARM_INCLUDE_EFM32TG_IRQ_H
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/* IRQ numbers. The IRQ number corresponds vector number and hence map
|
||||
* directly to bits in the NVIC. This does, however, waste several words of
|
||||
|
@ -84,13 +84,13 @@
|
|||
|
||||
#define NR_VECTORS (EFM32_IRQ_INTERRUPTS+23)
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Public Types
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Public Data
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
#ifdef __cplusplus
|
||||
|
@ -101,9 +101,9 @@ extern "C"
|
|||
#define EXTERN extern
|
||||
#endif
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#undef EXTERN
|
||||
#ifdef __cplusplus
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* arch/arm/src/include/stm32/dma2d.h
|
||||
*
|
||||
* Copyright (C) 2015 Marco Krahl. All rights reserved.
|
||||
|
@ -31,26 +31,26 @@
|
|||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_INCLUDE_STM32_DMA2D_H
|
||||
#define __ARCH_ARM_INCLUDE_STM32_DMA2D_H
|
||||
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include <stdbool.h>
|
||||
#include <nuttx/video/fb.h>
|
||||
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* Public Types
|
||||
******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
struct ltdc_area_s; /* see arch/chip/ltdc.h */
|
||||
|
||||
|
@ -322,15 +322,15 @@ struct dma2d_layer_s
|
|||
uint32_t color);
|
||||
};
|
||||
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* Public Data
|
||||
******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: up_dma2dgetlayer
|
||||
*
|
||||
* Description:
|
||||
|
@ -343,11 +343,11 @@ struct dma2d_layer_s
|
|||
* Reference to the dma2d layer control structure on success or Null if no
|
||||
* related exist.
|
||||
*
|
||||
******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
FAR struct dma2d_layer_s * up_dma2dgetlayer(int lid);
|
||||
|
||||
/******************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: up_dma2dcreatelayer
|
||||
*
|
||||
* Description:
|
||||
|
@ -365,13 +365,13 @@ FAR struct dma2d_layer_s * up_dma2dgetlayer(int lid);
|
|||
* -ENOMEM if no memory available or exceeds
|
||||
* CONFIG_STM32_DMA2D_NLAYERS
|
||||
*
|
||||
******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
FAR struct dma2d_layer_s *up_dma2dcreatelayer(fb_coord_t width,
|
||||
fb_coord_t height,
|
||||
uint8_t fmt);
|
||||
|
||||
/******************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: up_dma2dremovelayer
|
||||
*
|
||||
* Description:
|
||||
|
@ -384,11 +384,11 @@ FAR struct dma2d_layer_s *up_dma2dcreatelayer(fb_coord_t width,
|
|||
* On success - OK
|
||||
* On error - -EINVAL
|
||||
*
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
int up_dma2dremovelayer(FAR struct dma2d_layer_s *layer);
|
||||
|
||||
/******************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: up_dma2dinitialize
|
||||
*
|
||||
* Description:
|
||||
|
@ -398,17 +398,17 @@ int up_dma2dremovelayer(FAR struct dma2d_layer_s *layer);
|
|||
* OK - On success
|
||||
* An error if initializing failed.
|
||||
*
|
||||
******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
int up_dma2dinitialize(void);
|
||||
|
||||
/******************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: up_dma2duninitialize
|
||||
*
|
||||
* Description:
|
||||
* Uninitialize the dma2d controller
|
||||
*
|
||||
******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
void up_dma2duninitialize(void);
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* arch/arm/src/include/stm32/ltdc.h
|
||||
*
|
||||
* Copyright (C) 2014-2015 Marco Krahl. All rights reserved.
|
||||
|
@ -31,27 +31,27 @@
|
|||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_INCLUDE_STM32_LTDC_H
|
||||
#define __ARCH_ARM_INCLUDE_STM32_LTDC_H
|
||||
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include <stdbool.h>
|
||||
#include <nuttx/video/fb.h>
|
||||
|
||||
#ifdef CONFIG_STM32_LTDC
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* Public Types
|
||||
******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
struct dma2d_layer_s; /* see arch/chip/dma2d.h */
|
||||
|
||||
|
@ -565,15 +565,15 @@ struct ltdc_layer_s
|
|||
#endif
|
||||
};
|
||||
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* Public Data
|
||||
******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: up_ltdcgetlayer
|
||||
*
|
||||
* Description:
|
||||
|
@ -586,7 +586,7 @@ struct ltdc_layer_s
|
|||
* Reference to the layer control structure on success or Null if parameter
|
||||
* invalid.
|
||||
*
|
||||
******************************************************************************/
|
||||
****************************************************************************/
|
||||
FAR struct ltdc_layer_s *up_ltdcgetlayer(int lid);
|
||||
#endif /* CONFIG_STM32_LTDC */
|
||||
#endif /* __ARCH_ARM_INCLUDE_STM32_LTDC_H */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* arch/arm/src/efm32/chip/efm32ggxxx_vectors.h
|
||||
*
|
||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||
|
@ -31,11 +31,11 @@
|
|||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
/* This file is included by efm32_vectors.S. It provides the macro VECTOR
|
||||
* that supplies each EFM32G vector in terms of a (lower-case) ISR label and
|
||||
* an (upper-case) IRQ number as defined in arch/arm/include/efm32/efm32g_irq.h.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* arch/arm/src/efm32/chip/efm32ggxxx_vectors.h
|
||||
*
|
||||
* Copyright (C) 2014 Pierre-noel Bouteville . All rights reserved.
|
||||
|
@ -31,11 +31,11 @@
|
|||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
/* This file is included by efm32_vectors.S. It provides the macro VECTOR
|
||||
* that supplies each EFM32GG vector in terms of a (lower-case) ISR label and
|
||||
* an (upper-case) IRQ number as defined in arch/arm/include/efm32/efm32gg_irq.h.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* arch/arm/src/efm32/chip/efm32tg_vectors.h
|
||||
*
|
||||
* Copyright (C) 2014 Pierre-noel Bouteville . All rights reserved.
|
||||
|
@ -31,11 +31,11 @@
|
|||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
/* This file is included by efm32_vectors.S. It provides the macro VECTOR that
|
||||
* supplies ach EFM32TG vector in terms of a (lower-case) ISR label and an
|
||||
* (upper-case) IRQ number as defined in arch/arm/include/efm32/efm32tg_irq.h.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* arch/arm/src/efm32/efm32_bitband.h
|
||||
*
|
||||
* Copyright (C) 2015 Pierre-noel Bouteville . All rights reserved.
|
||||
|
|
|
@ -63,45 +63,45 @@
|
|||
|
||||
void efm32_lowsetup(void);
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: efm32_lowputc
|
||||
*
|
||||
* Description:
|
||||
* Output one character to the UART using a simple polling method.
|
||||
*
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#if defined(HAVE_UART_CONSOLE) || defined(HAVE_LEUART_CONSOLE)
|
||||
void efm32_lowputc(uint32_t ch);
|
||||
#endif
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: efm32_uartconfigure
|
||||
*
|
||||
* Description:
|
||||
* Configure a U[S]ART as a RS-232 UART.
|
||||
*
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef HAVE_UART_DEVICE
|
||||
void efm32_uartconfigure(uintptr_t base, uint32_t baud, unsigned int parity,
|
||||
unsigned int nbits, bool stop2);
|
||||
#endif
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: efm32_leuartconfigure
|
||||
*
|
||||
* Description:
|
||||
* Configure a LEUART as a RS-232 UART.
|
||||
*
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef HAVE_LEUART_DEVICE
|
||||
void efm32_leuartconfigure(uintptr_t base, uint32_t baud, unsigned int parity,
|
||||
unsigned int nbits, bool stop2);
|
||||
#endif
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: efm32_uart_reset
|
||||
*
|
||||
* Description:
|
||||
|
@ -109,13 +109,13 @@ void efm32_leuartconfigure(uintptr_t base, uint32_t baud, unsigned int parity,
|
|||
* to the initial, reset value. Only the ROUTE data set by efm32_lowsetup
|
||||
* is preserved.
|
||||
*
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#if defined(HAVE_UART_DEVICE) || defined(HAVE_SPI_DEVICE)
|
||||
void efm32_uart_reset(uintptr_t base);
|
||||
#endif
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: efm32_uart_reset
|
||||
*
|
||||
* Description:
|
||||
|
@ -123,7 +123,7 @@ void efm32_uart_reset(uintptr_t base);
|
|||
* to the initial, reset value. Only the ROUTE data set by efm32_lowsetup
|
||||
* is preserved.
|
||||
*
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef HAVE_LEUART_DEVICE
|
||||
void efm32_leuart_reset(uintptr_t base);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/******************************************************************************
|
||||
/****************************************************************************
|
||||
* arch/arm/src/efm32/efm32_pwm.h
|
||||
*
|
||||
* Copyright (C) 2014 Pierre-Noel Bouteville. All rights reserved.
|
||||
|
@ -31,7 +31,7 @@
|
|||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_EFM32_EFM32_PWM_H
|
||||
#define __ARCH_ARM_SRC_EFM32_EFM32_PWM_H
|
||||
|
@ -42,17 +42,17 @@
|
|||
* EFM32 timers. That interface is described in include/nuttx/pwm.h.
|
||||
*/
|
||||
|
||||
/******************************************************************************
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include "chip.h"
|
||||
|
||||
/******************************************************************************
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
******************************************************************************/
|
||||
****************************************************************************/
|
||||
/* Configuration **************************************************************/
|
||||
/* Timer devices may be used for different purposes. One special purpose is
|
||||
* to generate modulated outputs for such things as motor control.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* arch/arm/src/efm32/efm32_rmu.h
|
||||
*
|
||||
* Copyright (C) 2015 Pierre-noel Bouteville . All rights reserved.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* arch/arm/src/efm32/efm32_rtc.h
|
||||
*
|
||||
* Copyright (C) 2015 Gregory Nutt. All rights reserved.
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
struct spi_dev_s;
|
||||
struct spi_dev_s *efm32_spi_initialize(int port);
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: efm32_spi[n]_select, efm32_spi[n]_status, and efm32_spi[n]_cmddata
|
||||
*
|
||||
* Description:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* arch/arm/src/efm32/efm32_timer.h
|
||||
*
|
||||
* Copyright (C) 2014 Pierre-noel Bouteville . All rights reserved.
|
||||
|
|
|
@ -149,7 +149,7 @@ extern "C"
|
|||
#define EXTERN extern
|
||||
#endif
|
||||
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: efm32_usbhost_initialize
|
||||
*
|
||||
* Description:
|
||||
|
@ -172,7 +172,7 @@ extern "C"
|
|||
* - Class drivers should be initialized prior to calling this function.
|
||||
* Otherwise, there is a race condition if the device is already connected.
|
||||
*
|
||||
*******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_USBHOST
|
||||
struct usbhost_connection_s;
|
||||
|
|
|
@ -386,25 +386,25 @@ void kinetis_clockconfig(void);
|
|||
|
||||
void kinetis_lowsetup(void);
|
||||
|
||||
/******************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: kinetis_uartreset
|
||||
*
|
||||
* Description:
|
||||
* Reset a UART.
|
||||
*
|
||||
******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef HAVE_UART_DEVICE
|
||||
void kinetis_uartreset(uintptr_t uart_base);
|
||||
#endif
|
||||
|
||||
/******************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: kinetis_uartconfigure
|
||||
*
|
||||
* Description:
|
||||
* Configure a UART as a RS-232 UART.
|
||||
*
|
||||
******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef HAVE_UART_DEVICE
|
||||
void kinetis_uartconfigure(uintptr_t uart_base, uint32_t baud, uint32_t clock,
|
||||
|
|
|
@ -69,7 +69,7 @@ extern "C"
|
|||
#define EXTERN extern
|
||||
#endif
|
||||
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: lpc17_usbhost_initialize
|
||||
*
|
||||
* Description:
|
||||
|
@ -92,7 +92,7 @@ extern "C"
|
|||
* - Class drivers should be initialized prior to calling this function.
|
||||
* Otherwise, there is a race condition if the device is already connected.
|
||||
*
|
||||
*******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_USBHOST
|
||||
struct usbhost_connection_s;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* arch/arm/src/lpc214x/lpc214x_usbdev.h
|
||||
*
|
||||
* Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
|
||||
|
@ -31,20 +31,20 @@
|
|||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_LPC214X_LPC214X_USBDEV_H
|
||||
#define __ARCH_ARM_SRC_LPC214X_LPC214X_USBDEV_H
|
||||
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
*******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
*******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/* PINSEL1 bit definitions for UART0/1:
|
||||
*
|
||||
|
@ -331,16 +331,16 @@
|
|||
#define USB_DMAPKTSIZE_FRAMENOSHIFT (17) /* Bit 17-31: Frame number */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* Private Types
|
||||
*******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* Public Data
|
||||
*******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
*******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_LPC214X_LPC214X_USBDEV_H */
|
||||
|
|
|
@ -240,7 +240,7 @@ struct usbdev_s;
|
|||
void lpc31_usbsuspend(FAR struct usbdev_s *dev, bool resume);
|
||||
#endif
|
||||
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: lpc31_ehci_initialize
|
||||
*
|
||||
* Description:
|
||||
|
@ -263,7 +263,7 @@ void lpc31_usbsuspend(FAR struct usbdev_s *dev, bool resume);
|
|||
* - Class drivers should be initialized prior to calling this function.
|
||||
* Otherwise, there is a race condition if the device is already connected.
|
||||
*
|
||||
*******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#if defined(CONFIG_LPC31_USBOTG) && defined(CONFIG_USBHOST)
|
||||
struct usbhost_connection_s;
|
||||
|
|
|
@ -70,7 +70,7 @@ extern "C"
|
|||
* Public Function Prototypes
|
||||
************************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: lpc31_ehci_initialize
|
||||
*
|
||||
* Description:
|
||||
|
@ -93,7 +93,7 @@ extern "C"
|
|||
* - Class drivers should be initialized prior to calling this function.
|
||||
* Otherwise, there is a race condition if the device is already connected.
|
||||
*
|
||||
*******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#if defined(CONFIG_LPC43_USBOTG) && defined(CONFIG_USBHOST)
|
||||
struct usbhost_connection_s;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* arch/arm/src/lpc43xx/lpc43_rit.h
|
||||
*
|
||||
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
|
||||
|
@ -31,32 +31,32 @@
|
|||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_LPC43XX_LPC43_RIT_H
|
||||
#define __ARCH_ARM_SRC_LPC43XX_LPC43_RIT_H
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Public Types
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Public Data
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/************************************************************************************
|
||||
* Public Functions
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
void up_timer_initialize(void);
|
||||
int up_timer_gettime(FAR struct timespec *ts);
|
||||
|
|
|
@ -95,7 +95,7 @@ void nuc_lowsetup(void);
|
|||
* Here we assume that the default clock source for the UART modules is
|
||||
* the external high speed crystal.
|
||||
*
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef HAVE_UART
|
||||
void nuc_setbaud(uintptr_t base, uint32_t baud);
|
||||
|
@ -107,7 +107,7 @@ void nuc_setbaud(uintptr_t base, uint32_t baud);
|
|||
* Description:
|
||||
* Output one character to the UART using a simple polling method.
|
||||
*
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef HAVE_SERIAL_CONSOLE
|
||||
void nuc_lowputc(uint32_t ch);
|
||||
|
|
|
@ -230,7 +230,7 @@ extern "C"
|
|||
* Public Functions
|
||||
************************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: sam_ohci_initialize
|
||||
*
|
||||
* Description:
|
||||
|
@ -253,14 +253,14 @@ extern "C"
|
|||
* - Class drivers should be initialized prior to calling this function.
|
||||
* Otherwise, there is a race condition if the device is already connected.
|
||||
*
|
||||
*******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_SAMA5_OHCI
|
||||
struct usbhost_connection_s;
|
||||
FAR struct usbhost_connection_s *sam_ohci_initialize(int controller);
|
||||
#endif
|
||||
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: sam_ohci_tophalf
|
||||
*
|
||||
* Description:
|
||||
|
@ -268,13 +268,13 @@ FAR struct usbhost_connection_s *sam_ohci_initialize(int controller);
|
|||
* EHCI will manage the common UHPHS interrupt and will forward the interrupt
|
||||
* event to this function.
|
||||
*
|
||||
*******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_SAMA5_OHCI
|
||||
int sam_ohci_tophalf(int irq, FAR void *context);
|
||||
#endif
|
||||
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: sam_ehci_initialize
|
||||
*
|
||||
* Description:
|
||||
|
@ -297,7 +297,7 @@ int sam_ohci_tophalf(int irq, FAR void *context);
|
|||
* - Class drivers should be initialized prior to calling this function.
|
||||
* Otherwise, there is a race condition if the device is already connected.
|
||||
*
|
||||
*******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_SAMA5_EHCI
|
||||
struct usbhost_connection_s;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/******************************************************************************
|
||||
/****************************************************************************
|
||||
* arch/arm/src/stm32/chip/stm32_dma2d.h
|
||||
*
|
||||
* Copyright (C) 2014-2015 Marco Krahl. All rights reserved.
|
||||
|
@ -31,21 +31,21 @@
|
|||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32_DMA2D_H
|
||||
#define __ARCH_ARM_SRC_STM32_CHIP_STM32_DMA2D_H
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/stm32_memorymap.h"
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#define STM32_DMA2D_NCLUT 256 /* Number of entries in the CLUT */
|
||||
|
||||
|
@ -223,8 +223,8 @@
|
|||
#define DMA2D_AMTCR_DT_MASK (0xFF << DMA2D_AMTCR_DT_SHIFT)
|
||||
#define DMA2D_AMTCR_DT(n) ((uint32_t)(n) << DMA2D_AMTCR_DT_SHIFT)
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Public Types
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32_DMA2D_H */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/******************************************************************************
|
||||
/****************************************************************************
|
||||
* arch/arm/src/stm32/stm32_dma2d.h
|
||||
*
|
||||
* Copyright (C) 2014-2015 Marco Krahl. All rights reserved.
|
||||
|
@ -31,38 +31,38 @@
|
|||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_STM32_STM32_DMA2D_H
|
||||
#define __ARCH_ARM_SRC_STM32_STM32_DMA2D_H
|
||||
|
||||
/******************************************************************************
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include <nuttx/video/fb.h>
|
||||
#include <arch/chip/ltdc.h>
|
||||
|
||||
#ifdef CONFIG_STM32_DMA2D
|
||||
/******************************************************************************
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/******************************************************************************
|
||||
/****************************************************************************
|
||||
* Public Types
|
||||
******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/******************************************************************************
|
||||
/****************************************************************************
|
||||
* Public Data
|
||||
******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/******************************************************************************
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
# ifdef CONFIG_STM32_LTDC_INTERFACE
|
||||
/******************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: stm32_dma2dinitltdc
|
||||
*
|
||||
* Description:
|
||||
|
@ -81,7 +81,7 @@
|
|||
* On error - NULL and errno is set to
|
||||
* -EINVAL if one of the parameter is invalid
|
||||
*
|
||||
******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
FAR struct dma2d_layer_s * stm32_dma2dinitltdc(FAR struct stm32_ltdc_s *layer);
|
||||
# endif /* CONFIG_STM32_LTDC_INTERFACE */
|
||||
|
|
|
@ -78,7 +78,7 @@ extern "C"
|
|||
#define EXTERN extern
|
||||
#endif
|
||||
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: stm32_otgfshost_initialize
|
||||
*
|
||||
* Description:
|
||||
|
@ -101,7 +101,7 @@ extern "C"
|
|||
* - Class drivers should be initialized prior to calling this function.
|
||||
* Otherwise, there is a race condition if the device is already connected.
|
||||
*
|
||||
*******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_USBHOST
|
||||
struct usbhost_connection_s;
|
||||
|
|
|
@ -73,7 +73,7 @@ extern "C"
|
|||
#define EXTERN extern
|
||||
#endif
|
||||
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: stm32_otgfshost_initialize
|
||||
*
|
||||
* Description:
|
||||
|
@ -96,7 +96,7 @@ extern "C"
|
|||
* - Class drivers should be initialized prior to calling this function.
|
||||
* Otherwise, there is a race condition if the device is already connected.
|
||||
*
|
||||
*******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_USBHOST
|
||||
struct usbhost_connection_s;
|
||||
|
|
|
@ -317,7 +317,7 @@ int gpio_irqattach(int irq, xcpt_t newisr, xcpt_t *oldisr);
|
|||
void gpio_irqenable(int irq);
|
||||
#endif
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: gpio_irqdisable
|
||||
*
|
||||
* Description:
|
||||
|
|
|
@ -186,7 +186,7 @@ int gpio_irqattach(int irq, xcpt_t newisr, xcpt_t *oldisr);
|
|||
void gpio_irqenable(int irq);
|
||||
#endif
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: gpio_irqdisable
|
||||
*
|
||||
* Description:
|
||||
|
|
|
@ -188,7 +188,7 @@ int gpio_irqattach(int irq, xcpt_t newisr, xcpt_t *oldisr);
|
|||
void gpio_irqenable(int irq);
|
||||
#endif
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: gpio_irqdisable
|
||||
*
|
||||
* Description:
|
||||
|
|
|
@ -204,25 +204,25 @@ void pic32mx_consoleinit(void);
|
|||
# define pic32mx_consoleinit()
|
||||
#endif
|
||||
|
||||
/******************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: pic32mx_uartreset
|
||||
*
|
||||
* Description:
|
||||
* Reset a UART.
|
||||
*
|
||||
******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef HAVE_UART_DEVICE
|
||||
void pic32mx_uartreset(uintptr_t uart_base);
|
||||
#endif
|
||||
|
||||
/******************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: pic32mx_uartconfigure
|
||||
*
|
||||
* Description:
|
||||
* Configure a UART as a RS-232 UART.
|
||||
*
|
||||
******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef HAVE_UART_DEVICE
|
||||
void pic32mx_uartconfigure(uintptr_t uart_base, uint32_t baudrate,
|
||||
|
|
|
@ -89,25 +89,25 @@ void pic32mz_consoleinit(void);
|
|||
# define pic32mz_consoleinit()
|
||||
#endif
|
||||
|
||||
/******************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: pic32mz_uartreset
|
||||
*
|
||||
* Description:
|
||||
* Reset a UART.
|
||||
*
|
||||
******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef HAVE_UART_DEVICE
|
||||
void pic32mz_uartreset(uintptr_t uart_base);
|
||||
#endif
|
||||
|
||||
/******************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: pic32mz_uartconfigure
|
||||
*
|
||||
* Description:
|
||||
* Configure a UART as a RS-232 UART.
|
||||
*
|
||||
******************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef HAVE_UART_DEVICE
|
||||
void pic32mz_uartconfigure(uintptr_t uart_base, uint32_t baudrate,
|
||||
|
|
Loading…
Reference in a new issue