RTEMS 6.3
Loading...
Searching...
No Matches

BSP start configuration. More...

#include <rtems/score/armv7m.h>
#include <bsp.h>
#include <bsp/io.h>
#include <bsp/start.h>
#include <bsp/lpc-emc.h>

Go to the source code of this file.

Data Structures

struct  lpc24xx_emc_dynamic_config
struct  lpc24xx_emc_dynamic_chip_config
struct  lpc24xx_emc_static_chip_config

Macros

#define LPC24XX_PS_TO_CLK(ps, f)
 Pico seconds ps to clock ticks for clock frequency f.
#define LPC24XX_PS_TO_EMCCLK(ps, m)
 Pico seconds ps to EMCCLK clock ticks adjusted by m.

Variables

BSP_START_DATA_SECTION const lpc24xx_pin_range lpc24xx_start_config_pinsel []
BSP_START_DATA_SECTION const lpc24xx_emc_dynamic_config lpc24xx_start_config_emc_dynamic []
BSP_START_DATA_SECTION const lpc24xx_emc_dynamic_chip_config lpc24xx_start_config_emc_dynamic_chip []
BSP_START_DATA_SECTION const size_t lpc24xx_start_config_emc_dynamic_chip_count
BSP_START_DATA_SECTION const lpc24xx_emc_static_chip_config lpc24xx_start_config_emc_static_chip []
BSP_START_DATA_SECTION const size_t lpc24xx_start_config_emc_static_chip_count

Detailed Description

BSP start configuration.

Macro Definition Documentation

◆ LPC24XX_PS_TO_CLK

#define LPC24XX_PS_TO_CLK ( ps,
f )
Value:
(((((uint64_t) (ps)) * ((uint64_t) (f))) + 1000000000000ULL - 1ULL) \
/ 1000000000000ULL)

Pico seconds ps to clock ticks for clock frequency f.

◆ LPC24XX_PS_TO_EMCCLK

#define LPC24XX_PS_TO_EMCCLK ( ps,
m )
Value:
(LPC24XX_PS_TO_CLK(ps, LPC24XX_EMCCLK) > (m) ? \
LPC24XX_PS_TO_CLK(ps, LPC24XX_EMCCLK) - (m) : 0)
#define LPC24XX_PS_TO_CLK(ps, f)
Pico seconds ps to clock ticks for clock frequency f.
Definition start-config.h:53

Pico seconds ps to EMCCLK clock ticks adjusted by m.