RTEMS: bsps/arm/lpc24xx/include/bsp/start-config.h File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Data Structures | Macros | Variables
start-config.h File Reference
Board Support Packages » ARM » NXP LPC17XX, LPC23XX, LPC24XX and LPC40XX

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)
LPC24XX_PS_TO_CLK
#define LPC24XX_PS_TO_CLK(ps, f)
Pico seconds ps to clock ticks for clock frequency f.
Definition: start-config.h:40

Pico seconds ps to EMCCLK clock ticks adjusted by m.