Macros | Functions | Variables
chip.h File Reference
#include "lpc_types.h"
#include "sys_config.h"
#include "cmsis.h"
#include "pmu_11xx.h"
#include "fmc_11xx.h"
#include "sysctl_11xx.h"
#include "clock_11xx.h"
#include "iocon_11xx.h"
#include "timer_11xx.h"
#include "uart_11xx.h"
#include "wwdt_11xx.h"
#include "ssp_11xx.h"
#include "romapi_11xx.h"
#include "adc_11xx.h"
#include "gpio_11xx_1.h"
#include "gpiogroup_11xx.h"
#include "pinint_11xx.h"
#include "i2c_11xx.h"
Include dependency graph for chip.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define IAP_ENTRY_LOCATION   0X1FFF1FF1
 
#define LPC_ACMP_BASE   0x40028000
 
#define LPC_ADC   ((LPC_ADC_T *) LPC_ADC_BASE)
 
#define LPC_ADC_BASE   0x4001C000
 
#define LPC_CAN0_BASE   0x40050000
 
#define LPC_DAC_BASE   0x40024000
 
#define LPC_FLASH_BASE   0x4003C000
 
#define LPC_FMC   ((LPC_FMC_T *) LPC_FLASH_BASE)
 
#define LPC_GPIO   ((LPC_GPIO_T *) LPC_GPIO_PORT0_BASE)
 
#define LPC_GPIO_PORT0_BASE   0x50000000
 
#define LPC_GPIO_PORT1_BASE   0x50010000
 
#define LPC_I2C   ((LPC_I2C_T *) LPC_I2C_BASE)
 
#define LPC_I2C_BASE   0x40000000
 
#define LPC_IOCON   ((LPC_IOCON_T *) LPC_IOCON_BASE)
 
#define LPC_IOCON_BASE   0x40044000
 
#define LPC_PMU   ((LPC_PMU_T *) LPC_PMU_BASE)
 
#define LPC_PMU_BASE   0x40038000
 
#define LPC_ROM_API   (*((LPC_ROM_API_T * *) LPC_ROM_API_BASE_LOC))
 
#define LPC_ROM_API_BASE_LOC   0x1FFF1FF8
 
#define LPC_SSP0   ((LPC_SSP_T *) LPC_SSP0_BASE)
 
#define LPC_SSP0_BASE   0x40040000
 
#define LPC_SSP1_BASE   0x40058000
 
#define LPC_SYSCTL   ((LPC_SYSCTL_T *) LPC_SYSCTL_BASE)
 
#define LPC_SYSCTL_BASE   0x40048000
 
#define LPC_TIMER16_0   ((LPC_TIMER_T *) LPC_TIMER16_0_BASE)
 
#define LPC_TIMER16_0_BASE   0x4000C000
 
#define LPC_TIMER16_1   ((LPC_TIMER_T *) LPC_TIMER16_1_BASE)
 
#define LPC_TIMER16_1_BASE   0x40010000
 
#define LPC_TIMER32_0   ((LPC_TIMER_T *) LPC_TIMER32_0_BASE)
 
#define LPC_TIMER32_0_BASE   0x40014000
 
#define LPC_TIMER32_1   ((LPC_TIMER_T *) LPC_TIMER32_1_BASE)
 
#define LPC_TIMER32_1_BASE   0x40018000
 
#define LPC_USART   ((LPC_USART_T *) LPC_USART_BASE)
 
#define LPC_USART_BASE   0x40008000
 
#define LPC_USB   ((LPC_USB_T *) LPC_USB0_BASE)
 
#define LPC_USB0_BASE   0x40080000
 
#define LPC_WWDT   ((LPC_WWDT_T *) LPC_WWDT_BASE)
 
#define LPC_WWDT_BASE   0x40004000
 

Functions

void Chip_SystemInit (void)
 Set up and initialize hardware prior to call to main() More...
 
void SystemCoreClockUpdate (void)
 Update system core clock rate, should be called if the system has a clock rate change. More...
 

Variables

const uint32_t ExtRateIn
 Clock rate on the CLKIN pin This value is defined externally to the chip layer and contains the value in Hz for the CLKIN pin for the board. If this pin isn't used, this rate can be 0. More...
 
const uint32_t OscRateIn
 System oscillator rate This value is defined externally to the chip layer and contains the value in Hz for the external oscillator for the board. If using the internal oscillator, this rate can be 0. More...
 
uint32_t SystemCoreClock
 Current system clock rate, mainly used for sysTick. More...
 

Variable Documentation

◆ ExtRateIn

const uint32_t ExtRateIn

Clock rate on the CLKIN pin This value is defined externally to the chip layer and contains the value in Hz for the CLKIN pin for the board. If this pin isn't used, this rate can be 0.

Definition at line 16 of file board.cpp.

◆ OscRateIn

const uint32_t OscRateIn

System oscillator rate This value is defined externally to the chip layer and contains the value in Hz for the external oscillator for the board. If using the internal oscillator, this rate can be 0.

System oscillator rate This value is defined externally to the chip layer and contains the value in Hz for the external oscillator for the board. If using the internal oscillator, this rate can be 0.

Definition at line 15 of file board.cpp.



uavcan_communicator
Author(s):
autogenerated on Fri Dec 13 2024 03:10:03