RTEMS 6.1-rc1
|
This header file defines the MMCTRL register block interface. More...
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | mmctrl |
This structure defines the MMCTRL register block memory map. More... | |
Macros | |
#define | MMCTRL_SDCFG1_RF 0x80000000U |
#define | MMCTRL_SDCFG1_TRP 0x40000000U |
#define | MMCTRL_SDCFG1_TRFC_SHIFT 27 |
#define | MMCTRL_SDCFG1_TRFC_MASK 0x38000000U |
#define | MMCTRL_SDCFG1_TRFC_GET(_reg) |
#define | MMCTRL_SDCFG1_TRFC_SET(_reg, _val) |
#define | MMCTRL_SDCFG1_TRFC(_val) |
#define | MMCTRL_SDCFG1_TC 0x4000000U |
#define | MMCTRL_SDCFG1_BANKSZ_SHIFT 23 |
#define | MMCTRL_SDCFG1_BANKSZ_MASK 0x3800000U |
#define | MMCTRL_SDCFG1_BANKSZ_GET(_reg) |
#define | MMCTRL_SDCFG1_BANKSZ_SET(_reg, _val) |
#define | MMCTRL_SDCFG1_BANKSZ(_val) |
#define | MMCTRL_SDCFG1_COLSZ_SHIFT 21 |
#define | MMCTRL_SDCFG1_COLSZ_MASK 0x600000U |
#define | MMCTRL_SDCFG1_COLSZ_GET(_reg) |
#define | MMCTRL_SDCFG1_COLSZ_SET(_reg, _val) |
#define | MMCTRL_SDCFG1_COLSZ(_val) |
#define | MMCTRL_SDCFG1_COMMAND_SHIFT 18 |
#define | MMCTRL_SDCFG1_COMMAND_MASK 0x1c0000U |
#define | MMCTRL_SDCFG1_COMMAND_GET(_reg) |
#define | MMCTRL_SDCFG1_COMMAND_SET(_reg, _val) |
#define | MMCTRL_SDCFG1_COMMAND(_val) |
#define | MMCTRL_SDCFG1_MS 0x10000U |
#define | MMCTRL_SDCFG1_64 0x8000U |
#define | MMCTRL_SDCFG1_RFLOAD_SHIFT 0 |
#define | MMCTRL_SDCFG1_RFLOAD_MASK 0x7fffU |
#define | MMCTRL_SDCFG1_RFLOAD_GET(_reg) |
#define | MMCTRL_SDCFG1_RFLOAD_SET(_reg, _val) |
#define | MMCTRL_SDCFG1_RFLOAD(_val) |
#define | MMCTRL_SDCFG2_CE 0x40000000U |
#define | MMCTRL_SDCFG2_EN2T 0x8000U |
#define | MMCTRL_SDCFG2_DCS 0x4000U |
#define | MMCTRL_SDCFG2_BPARK 0x2000U |
#define | MMCTRL_MUXCFG_ERRLOC_SHIFT 20 |
#define | MMCTRL_MUXCFG_ERRLOC_MASK 0xfff00000U |
#define | MMCTRL_MUXCFG_ERRLOC_GET(_reg) |
#define | MMCTRL_MUXCFG_ERRLOC_SET(_reg, _val) |
#define | MMCTRL_MUXCFG_ERRLOC(_val) |
#define | MMCTRL_MUXCFG_DDERR 0x80000U |
#define | MMCTRL_MUXCFG_DWIDTH_SHIFT 16 |
#define | MMCTRL_MUXCFG_DWIDTH_MASK 0x70000U |
#define | MMCTRL_MUXCFG_DWIDTH_GET(_reg) |
#define | MMCTRL_MUXCFG_DWIDTH_SET(_reg, _val) |
#define | MMCTRL_MUXCFG_DWIDTH(_val) |
#define | MMCTRL_MUXCFG_BEID_SHIFT 12 |
#define | MMCTRL_MUXCFG_BEID_MASK 0xf000U |
#define | MMCTRL_MUXCFG_BEID_GET(_reg) |
#define | MMCTRL_MUXCFG_BEID_SET(_reg, _val) |
#define | MMCTRL_MUXCFG_BEID(_val) |
#define | MMCTRL_MUXCFG_DATAMUX_SHIFT 5 |
#define | MMCTRL_MUXCFG_DATAMUX_MASK 0xe0U |
#define | MMCTRL_MUXCFG_DATAMUX_GET(_reg) |
#define | MMCTRL_MUXCFG_DATAMUX_SET(_reg, _val) |
#define | MMCTRL_MUXCFG_DATAMUX(_val) |
#define | MMCTRL_MUXCFG_CEN 0x10U |
#define | MMCTRL_MUXCFG_BAUPD 0x8U |
#define | MMCTRL_MUXCFG_BAEN 0x4U |
#define | MMCTRL_MUXCFG_CODE 0x2U |
#define | MMCTRL_MUXCFG_EDEN 0x1U |
#define | MMCTRL_FTDA_FTDA_SHIFT 2 |
#define | MMCTRL_FTDA_FTDA_MASK 0xfffffffcU |
#define | MMCTRL_FTDA_FTDA_GET(_reg) |
#define | MMCTRL_FTDA_FTDA_SET(_reg, _val) |
#define | MMCTRL_FTDA_FTDA(_val) |
#define | MMCTRL_FTDC_CBD_SHIFT 24 |
#define | MMCTRL_FTDC_CBD_MASK 0xff000000U |
#define | MMCTRL_FTDC_CBD_GET(_reg) |
#define | MMCTRL_FTDC_CBD_SET(_reg, _val) |
#define | MMCTRL_FTDC_CBD(_val) |
#define | MMCTRL_FTDC_CBC_SHIFT 16 |
#define | MMCTRL_FTDC_CBC_MASK 0xff0000U |
#define | MMCTRL_FTDC_CBC_GET(_reg) |
#define | MMCTRL_FTDC_CBC_SET(_reg, _val) |
#define | MMCTRL_FTDC_CBC(_val) |
#define | MMCTRL_FTDC_CBB_SHIFT 8 |
#define | MMCTRL_FTDC_CBB_MASK 0xff00U |
#define | MMCTRL_FTDC_CBB_GET(_reg) |
#define | MMCTRL_FTDC_CBB_SET(_reg, _val) |
#define | MMCTRL_FTDC_CBB(_val) |
#define | MMCTRL_FTDC_CBA_SHIFT 0 |
#define | MMCTRL_FTDC_CBA_MASK 0xffU |
#define | MMCTRL_FTDC_CBA_GET(_reg) |
#define | MMCTRL_FTDC_CBA_SET(_reg, _val) |
#define | MMCTRL_FTDC_CBA(_val) |
#define | MMCTRL_FTDD_DATA_SHIFT 0 |
#define | MMCTRL_FTDD_DATA_MASK 0xffffffffU |
#define | MMCTRL_FTDD_DATA_GET(_reg) |
#define | MMCTRL_FTDD_DATA_SET(_reg, _val) |
#define | MMCTRL_FTDD_DATA(_val) |
#define | MMCTRL_FTBND_FTBND_31_3_SHIFT 3 |
#define | MMCTRL_FTBND_FTBND_31_3_MASK 0xfffffff8U |
#define | MMCTRL_FTBND_FTBND_31_3_GET(_reg) |
#define | MMCTRL_FTBND_FTBND_31_3_SET(_reg, _val) |
#define | MMCTRL_FTBND_FTBND_31_3(_val) |
Typedefs | |
typedef struct mmctrl | mmctrl |
This structure defines the MMCTRL register block memory map. | |
This header file defines the MMCTRL register block interface.