RTEMS: bsps/powerpc/mpc55xxevb/include/mpc55xx/mpc55xx.h File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Macros | Functions
mpc55xx.h File Reference
Board Support Packages » PowerPC » NXP MPC55XX and MPC56XX

Documentation for this file. More...

`#include <mpc55xx/regs.h>`
`#include <mpc55xx/regs-mmu.h>`
`#include <libcpu/powerpc-utility.h>`

Go to the source code of this file.

## Macros
#define | MPC55XX_FLASH_BLANK_CHECK 0x01
#define | MPC55XX_FLASH_UNLOCK 0x02
#define | MPC55XX_FLASH_ERASE 0x04
#define | MPC55XX_FLASH_PROGRAM 0x08
#define | MPC55XX_FLASH_VERIFY 0x10
#define | MPC55XX_FLASH_CONFIG_ERR (-1)
#define | MPC55XX_FLASH_SIZE_ERR (-2)
#define | MPC55XX_FLASH_RANGE_ERR (-3)
#define | MPC55XX_FLASH_ERASE_ERR (-4)
#define | MPC55XX_FLASH_PROGRAM_ERR (-5)
#define | MPC55XX_FLASH_NOT_BLANK_ERR (-6)
#define | MPC55XX_FLASH_VERIFY_ERR (-7)
#define | MPC55XX_FLASH_LOCK_ERR (-8)
#define | MPC55XX_CACHE_ALIGNED_MASK ((uintptr_t) 0x1f)
#define | MPC55XX_CACHE_LINE_SIZE 32

## Functions
int | mpc55xx_flash_copy (void *dest, const void *src, size_t nbytes)
int | mpc55xx_flash_copy_op (void *rdest, const void *src, size_t nbytes, uint32_t opmask, uint32_t *p_fail_addr)
int | mpc55xx_flash_size (uint32_t *p_size)
int | mpc55xx_flash_writable (void)
uint32_t | mpc55xx_flash_address (void)
void | mpc55xx_flash_set_read_only (void)
void | mpc55xx_flash_set_read_write (void)
int | mpc55xx_physical_address (const void *addr, uint32_t *p_result)
int | mpc55xx_mapped_address (const void *addr, uint32_t *p_result)

## Detailed Description

Documentation for this file.