Rename arch/arm/src/lpc54xx/chip to arch/arm/src/lpc54xx/hardware.
This commit is contained in:
parent
5a41056a2f
commit
23f57b1d59
@ -48,7 +48,7 @@
|
||||
|
||||
#include <arch/irq.h>
|
||||
#include <arch/lpc54xx/chip.h>
|
||||
#include "chip/lpc54_memorymap.h"
|
||||
#include "hardware/lpc54_memorymap.h"
|
||||
|
||||
/* The common ARMv7-M vector handling logic expects the following definition in this
|
||||
* file. ARMV7M_PERIPHERAL_INTERRUPTS provides the number of supported external
|
||||
|
@ -33,8 +33,8 @@
|
||||
*
|
||||
****************************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_CHIP_LPC546X_MEMORYMAP_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_CHIP_LPC546X_MEMORYMAP_H
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC546X_MEMORYMAP_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC546X_MEMORYMAP_H
|
||||
|
||||
/****************************************************************************************************
|
||||
* Included Files
|
||||
@ -141,5 +141,5 @@
|
||||
#define LPC54_CTIMER3_BASE 0x40048000 /* CTIMER3 */
|
||||
#define LPC54_CTIMER4_BASE 0x40049000 /* CTIMER4 */
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_CHIP_LPC546X_MEMORYMAP_H */
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC546X_MEMORYMAP_H */
|
||||
|
@ -33,8 +33,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_CHIP_LPC546X_PINMUX_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_CHIP_LPC546X_PINMUX_H
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC546X_PINMUX_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC546X_PINMUX_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -904,4 +904,4 @@
|
||||
#define GPIO_UTICK_CAP3_3 (GPIO_ALT3 | GPIO_MODE_DIGITAL | GPIO_PORT3 | GPIO_PIN23) /* Type D+I */
|
||||
#define GPIO_UTICK_CAP3_5 (GPIO_ALT5 | GPIO_MODE_DIGITAL | GPIO_PORT5 | GPIO_PIN10)
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_CHIP_LPC546X_PINMUX_H */
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC546X_PINMUX_H */
|
@ -33,15 +33,15 @@
|
||||
*
|
||||
********************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_DMA_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_DMA_H
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_DMA_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_DMA_H
|
||||
|
||||
/********************************************************************************************
|
||||
* Included Files
|
||||
********************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/lpc54_memorymap.h"
|
||||
#include "hardware/lpc54_memorymap.h"
|
||||
|
||||
/********************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@ -275,4 +275,4 @@ struct lpc54_dmachan_desc_s
|
||||
uint32_t link; /* Link to next descriptor */
|
||||
};
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_DMA_H */
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_DMA_H */
|
@ -33,15 +33,15 @@
|
||||
*
|
||||
****************************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_EMC_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_EMC_H
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_EMC_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_EMC_H
|
||||
|
||||
/****************************************************************************************************
|
||||
* Included Files
|
||||
****************************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/lpc54_memorymap.h"
|
||||
#include "hardware/lpc54_memorymap.h"
|
||||
|
||||
/****************************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@ -340,4 +340,4 @@
|
||||
#define EMC_STATWAITTURN_MASK (15 << EMC_STATWAITTURN_SHIFT)
|
||||
# define EMC_STATWAITTURN(n) ((uint32_t)((n)-1) << EMC_STATWAITTURN_SHIFT)
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_EMC_H */
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_EMC_H */
|
@ -33,15 +33,15 @@
|
||||
*
|
||||
************************************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_ETHERNET_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_ETHERNET_H
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_ETHERNET_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_ETHERNET_H
|
||||
|
||||
/************************************************************************************************************
|
||||
* Included Files
|
||||
************************************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/lpc54_memorymap.h"
|
||||
#include "hardware/lpc54_memorymap.h"
|
||||
|
||||
/************************************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@ -863,4 +863,4 @@ struct enet_txdesc_s
|
||||
uint32_t ctrlstat; /* TDES3 Control and status word */
|
||||
};
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_ETHERNET_H */
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_ETHERNET_H */
|
@ -33,15 +33,15 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_FLEXCOMM_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_FLEXCOMM_H
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_FLEXCOMM_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_FLEXCOMM_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/lpc54_memorymap.h"
|
||||
#include "hardware/lpc54_memorymap.h"
|
||||
|
||||
/************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@ -113,4 +113,4 @@
|
||||
#define FLEXCOMM_PID_ID_SHIFT (16) /* Bits 15-31: Module ID for selected function */
|
||||
#define FLEXCOMM_PID_ID_MASK (0xffff << FLEXCOMM_PID_ID_SHIFT)
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_FLEXCOMM_H */
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_FLEXCOMM_H */
|
@ -33,15 +33,15 @@
|
||||
*
|
||||
****************************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_GINT_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_GINT_H
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_GINT_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_GINT_H
|
||||
|
||||
/****************************************************************************************************
|
||||
* Included Files
|
||||
****************************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/lpc54_memorymap.h"
|
||||
#include "hardware/lpc54_memorymap.h"
|
||||
|
||||
/****************************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@ -87,4 +87,4 @@
|
||||
#define GINT_PORT_ENA0(n) (1 << (n)) /* Enable port0 pin for group interrupt */
|
||||
#define GINT_PORT_ENA1(n) (1 << (n)) /* Enable port1 pin for group interrupt */
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_GINT_H */
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_GINT_H */
|
@ -33,8 +33,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_GPIO_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_GPIO_H
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_GPIO_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_GPIO_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -42,7 +42,7 @@
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include <stdint.h>
|
||||
#include "chip/lpc54_memorymap.h"
|
||||
#include "hardware/lpc54_memorymap.h"
|
||||
|
||||
/************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@ -105,4 +105,4 @@
|
||||
|
||||
#define GPIO_PORT_BIT(n) (1 << ((n) & 31))
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_GPIO_H */
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_GPIO_H */
|
@ -33,15 +33,15 @@
|
||||
*
|
||||
****************************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_I2C_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_I2C_H
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_I2C_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_I2C_H
|
||||
|
||||
/****************************************************************************************************
|
||||
* Included Files
|
||||
****************************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/lpc54_memorymap.h"
|
||||
#include "hardware/lpc54_memorymap.h"
|
||||
|
||||
/****************************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@ -415,4 +415,4 @@
|
||||
/* I2C module Identification */
|
||||
#define I2C_ID_
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_I2C_H */
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_I2C_H */
|
@ -33,15 +33,15 @@
|
||||
*
|
||||
****************************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_INPUTMUX_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_INPUTMUX_H
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_INPUTMUX_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_INPUTMUX_H
|
||||
|
||||
/****************************************************************************************************
|
||||
* Included Files
|
||||
****************************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/lpc54_memorymap.h"
|
||||
#include "hardware/lpc54_memorymap.h"
|
||||
|
||||
/****************************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@ -295,4 +295,4 @@
|
||||
# define MUX_FREQMEAS_TARGET_GPIOCLKA (6 << MUX_FREQMEAS_TARGET_SHIFT) /* FREQME_GPIO_CLK_A */
|
||||
# define MUX_FREQMEAS_TARGET_ PIOCLKB (7 << MUX_FREQMEAS_TARGET_SHIFT) /* FREQME_GPIO_CLK_B */
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_INPUTMUX_H */
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_INPUTMUX_H */
|
@ -33,15 +33,15 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_CHIP_LPC548X_IOCON_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_CHIP_LPC548X_IOCON_H
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC548X_IOCON_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC548X_IOCON_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/lpc54_memorymap.h"
|
||||
#include "hardware/lpc54_memorymap.h"
|
||||
|
||||
/************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@ -375,4 +375,4 @@
|
||||
#define IOCON_PIO4_TYPEA_MASK (0x00000000) /* None */
|
||||
#define IOCON_PIO5_TYPEA_MASK (0x00000000) /* None */
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_CHIP_LPC548X_IOCON_H */
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC548X_IOCON_H */
|
@ -33,15 +33,15 @@
|
||||
*
|
||||
************************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_LCD_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_LCD_H
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_LCD_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_LCD_H
|
||||
|
||||
/************************************************************************************************
|
||||
* Included Files
|
||||
************************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/lpc54_memorymap.h"
|
||||
#include "hardware/lpc54_memorymap.h"
|
||||
|
||||
/************************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@ -332,4 +332,4 @@
|
||||
#define LCD_CRSR_INTSTAT_CRSRMIS (1 << 0) /* Bit 0: Cursor mask interrupt status */
|
||||
/* Bits 1-31: Reserved */
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_LCD_H */
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_LCD_H */
|
@ -33,8 +33,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_MEMORYMAP_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_MEMORYMAP_H
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_MEMORYMAP_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_MEMORYMAP_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -43,10 +43,10 @@
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#if defined(CONFIG_ARCH_FAMILY_LPC546XX)
|
||||
# include "chip/lpc546x_memorymap.h"
|
||||
# include "hardware/lpc546x_memorymap.h"
|
||||
#else
|
||||
# error "Unsupported LPC54 family"
|
||||
#endif
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_MEMORYMAP_H */
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_MEMORYMAP_H */
|
||||
|
@ -33,8 +33,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_PINMUX_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_PINMUX_H
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_PINMUX_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_PINMUX_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -44,10 +44,10 @@
|
||||
#include "lpc54_gpio.h"
|
||||
|
||||
#if defined(CONFIG_ARCH_FAMILY_LPC546XX)
|
||||
# include "chip/lpc546x_pinmux.h"
|
||||
# include "hardware/lpc546x_pinmux.h"
|
||||
#else
|
||||
# error "Unsupported LPC54 family"
|
||||
#endif
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_PINMUX_H */
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_PINMUX_H */
|
||||
|
@ -33,15 +33,15 @@
|
||||
*
|
||||
****************************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_PINT_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_PINT_H
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_PINT_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_PINT_H
|
||||
|
||||
/****************************************************************************************************
|
||||
* Included Files
|
||||
****************************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/lpc54_memorymap.h"
|
||||
#include "hardware/lpc54_memorymap.h"
|
||||
|
||||
/****************************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@ -197,4 +197,4 @@
|
||||
#define PINT_PMCFG_CFG7_MASK (7 << PINT_PMCFG_CFG7_SHIFT)
|
||||
# define PINT_PMCFG_CFG7(n) ((uint32_t)(n) << PINT_PMCFG_CFG7_SHIFT)
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_PINT_H */
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_PINT_H */
|
@ -33,15 +33,15 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_RIT_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_RIT_H
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_RIT_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_RIT_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/lpc54_memorymap.h"
|
||||
#include "hardware/lpc54_memorymap.h"
|
||||
|
||||
/************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@ -84,4 +84,4 @@
|
||||
/* LS 48-bit counter (Bits 0-31: 48-bit up counter) */
|
||||
/* MS 48-bit counter (Bits 32-47: 48-bit up counter) */
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_RIT_H */
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_RIT_H */
|
@ -33,15 +33,15 @@
|
||||
*
|
||||
********************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_ROM_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_ROM_H
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_ROM_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_ROM_H
|
||||
|
||||
/********************************************************************************************
|
||||
* Included Files
|
||||
********************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/lpc54_memorymap.h"
|
||||
#include "hardware/lpc54_memorymap.h"
|
||||
|
||||
/********************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@ -110,4 +110,4 @@ typedef CODE unsigned int (*rng_read_t)(void);
|
||||
|
||||
#define LPC54_RNG_READ ((rng_read_t)(lpc54_otg_vtable[LPC54_OTP_API_RNGREAD_OFFSET >> 2]))
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_ROM_H */
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_ROM_H */
|
@ -33,15 +33,15 @@
|
||||
*
|
||||
********************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_RTC_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_RTC_H
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_RTC_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_RTC_H
|
||||
|
||||
/********************************************************************************************
|
||||
* Included Files
|
||||
********************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/lpc54_memorymap.h"
|
||||
#include "hardware/lpc54_memorymap.h"
|
||||
|
||||
/********************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@ -93,4 +93,4 @@
|
||||
|
||||
/* General purpose registers (32-bit value) */
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_RTC_H */
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_RTC_H */
|
@ -33,15 +33,15 @@
|
||||
*
|
||||
************************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_SDMMC_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_SDMMC_H
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_SDMMC_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_SDMMC_H
|
||||
|
||||
/************************************************************************************************
|
||||
* Included Files
|
||||
************************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/lpc54_memorymap.h"
|
||||
#include "hardware/lpc54_memorymap.h"
|
||||
|
||||
/************************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@ -398,4 +398,4 @@
|
||||
|
||||
#define SDMMC_BACKENDPWRL (1 << 0) /* Bit 0: Back-end Power control for card application. */
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_SDMMC_H */
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_SDMMC_H */
|
@ -33,15 +33,15 @@
|
||||
*
|
||||
****************************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_SPI_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_SPI_H
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_SPI_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_SPI_H
|
||||
|
||||
/****************************************************************************************************
|
||||
* Included Files
|
||||
****************************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/lpc54_memorymap.h"
|
||||
#include "hardware/lpc54_memorymap.h"
|
||||
|
||||
/****************************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@ -402,4 +402,4 @@
|
||||
#define SPI_ID_ID_SHIFT (15) /* Bits 16-31: Unique module identifier for this IP block */
|
||||
#define SPI_ID_ID_MASK (0xffff << SPI_ID_ID_SHIFT)
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_SPI_H */
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_SPI_H */
|
@ -33,15 +33,15 @@
|
||||
*
|
||||
********************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_SYSCON_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_SYSCON_H
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_SYSCON_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_SYSCON_H
|
||||
|
||||
/********************************************************************************************
|
||||
* Included Files
|
||||
********************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/lpc54_memorymap.h"
|
||||
#include "hardware/lpc54_memorymap.h"
|
||||
|
||||
/************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@ -937,4 +937,4 @@
|
||||
/* Brown-Out Detect control */
|
||||
#define SYSCON_BODCTRL_
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_SYSCON_H */
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_SYSCON_H */
|
@ -33,15 +33,15 @@
|
||||
*
|
||||
*****************************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_USART_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_USART_H
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_USART_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_USART_H
|
||||
|
||||
/*****************************************************************************************************
|
||||
* Included Files
|
||||
*****************************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/lpc54_memorymap.h"
|
||||
#include "hardware/lpc54_memorymap.h"
|
||||
|
||||
/*****************************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@ -417,4 +417,4 @@
|
||||
#define USART_ID_ID_SHIFT (16) /* Bits 16-31: ID Unique module identifier for this IP block */
|
||||
#define USART_ID_ID_MASKX (0xffff << USART_ID_ID_SHIFT)
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_USART_H */
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_USART_H */
|
@ -33,8 +33,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_USB0_OHCI_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_USB0_OHCI_H
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_USB0_OHCI_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_USB0_OHCI_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -44,7 +44,7 @@
|
||||
#include <nuttx/usb/ohci.h>
|
||||
|
||||
#include "chip.h"
|
||||
#include "chip/lpc54_memorymap.h"
|
||||
#include "hardware/lpc54_memorymap.h"
|
||||
|
||||
/************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@ -126,4 +126,4 @@
|
||||
* Public Functions
|
||||
************************************************************************************/
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_USB0_OHCI_H */
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_USB0_OHCI_H */
|
@ -33,15 +33,15 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_WWDT_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_WWDT_H
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_WWDT_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_WWDT_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/lpc54_memorymap.h"
|
||||
#include "hardware/lpc54_memorymap.h"
|
||||
|
||||
/************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@ -98,4 +98,4 @@
|
||||
#define WWDT_WINDOW_MASK 0x00ffffff /* Bits 0-23: Watchdog window value */
|
||||
/* Bits 24-31: Reserved */
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_WWDT_H */
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_HARDWARE_LPC54_WWDT_H */
|
@ -43,7 +43,7 @@
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include "up_arch.h"
|
||||
#include <chip/lpc54_syscon.h>
|
||||
#include "hardware/lpc54_syscon.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
@ -43,7 +43,7 @@
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include "up_arch.h"
|
||||
#include "chip/lpc54_syscon.h"
|
||||
#include "hardware/lpc54_syscon.h"
|
||||
|
||||
/************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
@ -41,7 +41,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include <chip/lpc54_syscon.h>
|
||||
#include "hardware/lpc54_syscon.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
@ -52,7 +52,7 @@
|
||||
#include "up_arch.h"
|
||||
#include "up_internal.h"
|
||||
|
||||
#include "chip/lpc54_memorymap.h"
|
||||
#include "hardware/lpc54_memorymap.h"
|
||||
#include "lpc54_mpuinit.h"
|
||||
|
||||
#include <arch/board/board.h>
|
||||
|
@ -55,7 +55,7 @@
|
||||
#include "up_arch.h"
|
||||
#include "up_internal.h"
|
||||
|
||||
#include "chip/lpc54_syscon.h"
|
||||
#include "hardware/lpc54_syscon.h"
|
||||
#include "lpc54_power.h"
|
||||
#include "lpc54_clockconfig.h"
|
||||
|
||||
|
@ -50,8 +50,8 @@
|
||||
#include "up_internal.h"
|
||||
#include "up_arch.h"
|
||||
|
||||
#include "chip/lpc54_inputmux.h"
|
||||
#include "chip/lpc54_dma.h"
|
||||
#include "hardware/lpc54_inputmux.h"
|
||||
#include "hardware/lpc54_dma.h"
|
||||
#include "lpc54_enableclk.h"
|
||||
#include "lpc54_reset.h"
|
||||
#include "lpc54_dma.h"
|
||||
|
@ -41,7 +41,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/lpc54_dma.h"
|
||||
#include "hardware/lpc54_dma.h"
|
||||
|
||||
#ifdef CONFIG_LPC54_DMA
|
||||
|
||||
|
@ -52,8 +52,8 @@
|
||||
|
||||
#include "up_arch.h"
|
||||
|
||||
#include "chip/lpc54_syscon.h"
|
||||
#include "chip/lpc54_emc.h"
|
||||
#include "hardware/lpc54_syscon.h"
|
||||
#include "hardware/lpc54_emc.h"
|
||||
#include "lpc54_config.h"
|
||||
#include "lpc54_enableclk.h"
|
||||
#include "lpc54_reset.h"
|
||||
|
@ -88,9 +88,9 @@
|
||||
#endif
|
||||
|
||||
#include "up_arch.h"
|
||||
#include "chip/lpc54_syscon.h"
|
||||
#include "chip/lpc54_pinmux.h"
|
||||
#include "chip/lpc54_ethernet.h"
|
||||
#include "hardware/lpc54_syscon.h"
|
||||
#include "hardware/lpc54_pinmux.h"
|
||||
#include "hardware/lpc54_ethernet.h"
|
||||
#include "lpc54_enableclk.h"
|
||||
#include "lpc54_reset.h"
|
||||
#include "lpc54_gpio.h"
|
||||
|
@ -48,8 +48,8 @@
|
||||
#include <arch/irq.h>
|
||||
|
||||
#include "up_arch.h"
|
||||
#include "chip/lpc54_iocon.h"
|
||||
#include "chip/lpc54_gpio.h"
|
||||
#include "hardware/lpc54_iocon.h"
|
||||
#include "hardware/lpc54_gpio.h"
|
||||
#include "lpc54_gpio.h"
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -49,8 +49,8 @@
|
||||
|
||||
#include <arch/lpc54xx/chip.h>
|
||||
|
||||
#include "chip/lpc54_gpio.h"
|
||||
#include "chip/lpc54_iocon.h"
|
||||
#include "hardware/lpc54_gpio.h"
|
||||
#include "hardware/lpc54_iocon.h"
|
||||
|
||||
/************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
@ -46,9 +46,9 @@
|
||||
|
||||
#include "up_arch.h"
|
||||
|
||||
#include "chip/lpc54_syscon.h"
|
||||
#include "chip/lpc54_inputmux.h"
|
||||
#include "chip/lpc54_pint.h"
|
||||
#include "hardware/lpc54_syscon.h"
|
||||
#include "hardware/lpc54_inputmux.h"
|
||||
#include "hardware/lpc54_pint.h"
|
||||
#include "lpc54_gpio.h"
|
||||
|
||||
#ifdef CONFIG_LPC54_GPIOIRQ
|
||||
|
@ -66,10 +66,10 @@
|
||||
#include "up_arch.h"
|
||||
#include "up_internal.h"
|
||||
|
||||
#include "chip/lpc54_pinmux.h"
|
||||
#include "chip/lpc54_syscon.h"
|
||||
#include "chip/lpc54_flexcomm.h"
|
||||
#include "chip/lpc54_i2c.h"
|
||||
#include "hardware/lpc54_pinmux.h"
|
||||
#include "hardware/lpc54_syscon.h"
|
||||
#include "hardware/lpc54_flexcomm.h"
|
||||
#include "hardware/lpc54_i2c.h"
|
||||
#include "lpc54_config.h"
|
||||
#include "lpc54_clockconfig.h"
|
||||
#include "lpc54_enableclk.h"
|
||||
|
@ -42,7 +42,7 @@
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include <nuttx/i2c/i2c_master.h>
|
||||
#include "chip/lpc54_i2c.h"
|
||||
#include "hardware/lpc54_i2c.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Public Function Prototypes
|
||||
|
@ -50,8 +50,8 @@
|
||||
#include <nuttx/video/fb.h>
|
||||
|
||||
#include "up_arch.h"
|
||||
#include "chip/lpc54_syscon.h"
|
||||
#include "chip/lpc54_pinmux.h"
|
||||
#include "hardware/lpc54_syscon.h"
|
||||
#include "hardware/lpc54_pinmux.h"
|
||||
#include "lpc54_config.h"
|
||||
#include "lpc54_enableclk.h"
|
||||
#include "lpc54_gpio.h"
|
||||
|
@ -50,7 +50,7 @@
|
||||
|
||||
#include <nuttx/nx/nxglib.h>
|
||||
|
||||
#include "chip/lpc54_lcd.h"
|
||||
#include "hardware/lpc54_lcd.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
@ -51,11 +51,11 @@
|
||||
#include "up_arch.h"
|
||||
#include "up_internal.h"
|
||||
|
||||
#include "chip/lpc54_memorymap.h"
|
||||
#include "chip/lpc54_syscon.h"
|
||||
#include "chip/lpc54_flexcomm.h"
|
||||
#include "chip/lpc54_pinmux.h"
|
||||
#include "chip/lpc54_usart.h"
|
||||
#include "hardware/lpc54_memorymap.h"
|
||||
#include "hardware/lpc54_syscon.h"
|
||||
#include "hardware/lpc54_flexcomm.h"
|
||||
#include "hardware/lpc54_pinmux.h"
|
||||
#include "hardware/lpc54_usart.h"
|
||||
|
||||
#include "lpc54_config.h"
|
||||
#include "lpc54_enableclk.h"
|
||||
|
@ -46,7 +46,7 @@
|
||||
#include <nuttx/fs/fs.h>
|
||||
#include <nuttx/drivers/drivers.h>
|
||||
|
||||
#include "chip/lpc54_rom.h"
|
||||
#include "hardware/lpc54_rom.h"
|
||||
|
||||
#if defined(CONFIG_LPC54_RNG)
|
||||
#if defined(CONFIG_DEV_RANDOM) || defined(CONFIG_DEV_URANDOM_ARCH)
|
||||
|
@ -54,7 +54,7 @@
|
||||
|
||||
#include "up_arch.h"
|
||||
|
||||
#include "chip/lpc54_rtc.h"
|
||||
#include "hardware/lpc54_rtc.h"
|
||||
#include "lpc54_enableclk.h"
|
||||
#include "lpc54_rtc.h"
|
||||
|
||||
|
@ -49,7 +49,7 @@
|
||||
|
||||
#include "up_arch.h"
|
||||
|
||||
#include "chip/lpc54_rtc.h"
|
||||
#include "hardware/lpc54_rtc.h"
|
||||
#include "lpc54_rtc.h"
|
||||
|
||||
#ifdef CONFIG_RTC_DRIVER
|
||||
|
@ -69,8 +69,8 @@
|
||||
#include <nuttx/irq.h>
|
||||
|
||||
#include "up_arch.h"
|
||||
#include "chip/lpc54_pinmux.h"
|
||||
#include "chip/lpc54_syscon.h"
|
||||
#include "hardware/lpc54_pinmux.h"
|
||||
#include "hardware/lpc54_syscon.h"
|
||||
#include "lpc54_enableclk.h"
|
||||
#include "lpc54_gpio.h"
|
||||
#include "lpc54_sdmmc.h"
|
||||
|
@ -45,7 +45,7 @@
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "chip.h"
|
||||
#include "chip/lpc54_sdmmc.h"
|
||||
#include "hardware/lpc54_sdmmc.h"
|
||||
|
||||
/************************************************************************************
|
||||
* Public Functions
|
||||
|
@ -59,7 +59,7 @@
|
||||
|
||||
#include "chip.h"
|
||||
#include "lpc54_config.h"
|
||||
#include "chip/lpc54_usart.h"
|
||||
#include "hardware/lpc54_usart.h"
|
||||
#include "lpc54_clockconfig.h"
|
||||
#include "lpc54_lowputc.h"
|
||||
#include "lpc54_serial.h"
|
||||
|
@ -63,10 +63,10 @@
|
||||
#include "up_internal.h"
|
||||
#include "up_arch.h"
|
||||
|
||||
#include "chip/lpc54_pinmux.h"
|
||||
#include "chip/lpc54_syscon.h"
|
||||
#include "chip/lpc54_flexcomm.h"
|
||||
#include "chip/lpc54_spi.h"
|
||||
#include "hardware/lpc54_pinmux.h"
|
||||
#include "hardware/lpc54_syscon.h"
|
||||
#include "hardware/lpc54_flexcomm.h"
|
||||
#include "hardware/lpc54_spi.h"
|
||||
#include "lpc54_config.h"
|
||||
#include "lpc54_enableclk.h"
|
||||
#include "lpc54_gpio.h"
|
||||
|
@ -47,7 +47,7 @@
|
||||
#include "up_internal.h"
|
||||
#include "nvic.h"
|
||||
|
||||
#include "chip/lpc54_syscon.h"
|
||||
#include "hardware/lpc54_syscon.h"
|
||||
#include "lpc54_clockconfig.h"
|
||||
#include "lpc54_userspace.h"
|
||||
#include "lpc54_lowputc.h"
|
||||
|
@ -51,7 +51,7 @@
|
||||
|
||||
#include "up_arch.h"
|
||||
#include "chip.h"
|
||||
#include "chip/lpc54_rit.h"
|
||||
#include "hardware/lpc54_rit.h"
|
||||
|
||||
#ifdef CONFIG_SCHED_TICKLESS
|
||||
|
||||
|
@ -51,7 +51,7 @@
|
||||
#include "up_internal.h"
|
||||
#include "up_arch.h"
|
||||
|
||||
#include "chip/lpc54_syscon.h"
|
||||
#include "hardware/lpc54_syscon.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
@ -65,8 +65,8 @@
|
||||
#include "up_internal.h"
|
||||
|
||||
#include "chip.h"
|
||||
#include "chip/lpc54_usb.h"
|
||||
#include "chip/lpc54_syscon.h"
|
||||
#include "hardware/lpc54_usb.h"
|
||||
#include "hardware/lpc54_syscon.h"
|
||||
#include "lpc54_gpio.h"
|
||||
#include "lpc54_ohciram.h"
|
||||
|
||||
|
@ -49,7 +49,7 @@
|
||||
#include <arch/board/board.h>
|
||||
|
||||
#include "up_arch.h"
|
||||
#include "chip/lpc54_wwdt.h"
|
||||
#include "hardware/lpc54_wwdt.h"
|
||||
#include "lpc54_power.h"
|
||||
#include "lpc54_wdt.h"
|
||||
|
||||
|
@ -33,8 +33,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_WDT_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_WDT_H
|
||||
#ifndef __ARCH_ARM_SRC_LPC54XX_LPC54_WDT_H
|
||||
#define __ARCH_ARM_SRC_LPC54XX_LPC54_WDT_H
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
@ -43,7 +43,7 @@
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include "chip.h"
|
||||
#include "chip/lpc54_wdt.h"
|
||||
#include "hardware/lpc54_wdt.h"
|
||||
|
||||
#ifdef CONFIG_WATCHDOG
|
||||
|
||||
@ -94,4 +94,4 @@ void lpc54_wwdt_initialize(FAR const char *devpath);
|
||||
|
||||
#endif /* __ASSEMBLY__ */
|
||||
#endif /* CONFIG_WATCHDOG */
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_CHIP_LPC54_WDT_H */
|
||||
#endif /* __ARCH_ARM_SRC_LPC54XX_LPC54_WDT_H */
|
||||
|
@ -39,7 +39,7 @@
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include "chip/lpc54_pinmux.h"
|
||||
#include "hardware/lpc54_pinmux.h"
|
||||
#include "lpc54_gpio.h"
|
||||
#include "lpc54_emc.h"
|
||||
#include "lpcxpresso-lpc54628.h"
|
||||
|
Loading…
Reference in New Issue
Block a user