RTEMS 6.1-rc6
|
This header file defines the SPICTRL register block interface. More...
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | spictrl |
This structure defines the SPICTRL register block memory map. More... | |
Macros | |
#define | SPICTRL_CAP_SSSZ_SHIFT 24 |
#define | SPICTRL_CAP_SSSZ_MASK 0xff000000U |
#define | SPICTRL_CAP_SSSZ_GET(_reg) |
#define | SPICTRL_CAP_SSSZ_SET(_reg, _val) |
#define | SPICTRL_CAP_SSSZ(_val) |
#define | SPICTRL_CAP_MAXWLEN_SHIFT 20 |
#define | SPICTRL_CAP_MAXWLEN_MASK 0xf00000U |
#define | SPICTRL_CAP_MAXWLEN_GET(_reg) |
#define | SPICTRL_CAP_MAXWLEN_SET(_reg, _val) |
#define | SPICTRL_CAP_MAXWLEN(_val) |
#define | SPICTRL_CAP_TWEN 0x80000U |
#define | SPICTRL_CAP_AMODE 0x40000U |
#define | SPICTRL_CAP_ASELA 0x20000U |
#define | SPICTRL_CAP_SSEN 0x10000U |
#define | SPICTRL_CAP_FDEPTH_SHIFT 8 |
#define | SPICTRL_CAP_FDEPTH_MASK 0xff00U |
#define | SPICTRL_CAP_FDEPTH_GET(_reg) |
#define | SPICTRL_CAP_FDEPTH_SET(_reg, _val) |
#define | SPICTRL_CAP_FDEPTH(_val) |
#define | SPICTRL_CAP_SR 0x80U |
#define | SPICTRL_CAP_FT_SHIFT 5 |
#define | SPICTRL_CAP_FT_MASK 0x60U |
#define | SPICTRL_CAP_FT_GET(_reg) |
#define | SPICTRL_CAP_FT_SET(_reg, _val) |
#define | SPICTRL_CAP_FT(_val) |
#define | SPICTRL_CAP_REV_SHIFT 0 |
#define | SPICTRL_CAP_REV_MASK 0x1fU |
#define | SPICTRL_CAP_REV_GET(_reg) |
#define | SPICTRL_CAP_REV_SET(_reg, _val) |
#define | SPICTRL_CAP_REV(_val) |
#define | SPICTRL_MODE_LOOP 0x40000000U |
#define | SPICTRL_MODE_CPOL 0x20000000U |
#define | SPICTRL_MODE_CPHA 0x10000000U |
#define | SPICTRL_MODE_DIV_16 0x8000000U |
#define | SPICTRL_MODE_REV 0x4000000U |
#define | SPICTRL_MODE_MX 0x2000000U |
#define | SPICTRL_MODE_EN 0x1000000U |
#define | SPICTRL_MODE_LEN_SHIFT 20 |
#define | SPICTRL_MODE_LEN_MASK 0xf00000U |
#define | SPICTRL_MODE_LEN_GET(_reg) |
#define | SPICTRL_MODE_LEN_SET(_reg, _val) |
#define | SPICTRL_MODE_LEN(_val) |
#define | SPICTRL_MODE_PM_SHIFT 16 |
#define | SPICTRL_MODE_PM_MASK 0xf0000U |
#define | SPICTRL_MODE_PM_GET(_reg) |
#define | SPICTRL_MODE_PM_SET(_reg, _val) |
#define | SPICTRL_MODE_PM(_val) |
#define | SPICTRL_MODE_TWEN 0x8000U |
#define | SPICTRL_MODE_ASEL 0x4000U |
#define | SPICTRL_MODE_FACT 0x2000U |
#define | SPICTRL_MODE_OD 0x1000U |
#define | SPICTRL_MODE_CG_SHIFT 7 |
#define | SPICTRL_MODE_CG_MASK 0xf80U |
#define | SPICTRL_MODE_CG_GET(_reg) |
#define | SPICTRL_MODE_CG_SET(_reg, _val) |
#define | SPICTRL_MODE_CG(_val) |
#define | SPICTRL_MODE_ASELDEL_SHIFT 5 |
#define | SPICTRL_MODE_ASELDEL_MASK 0x60U |
#define | SPICTRL_MODE_ASELDEL_GET(_reg) |
#define | SPICTRL_MODE_ASELDEL_SET(_reg, _val) |
#define | SPICTRL_MODE_ASELDEL(_val) |
#define | SPICTRL_MODE_TAC 0x10U |
#define | SPICTRL_MODE_TTO 0x8U |
#define | SPICTRL_MODE_IGSEL 0x4U |
#define | SPICTRL_MODE_CITE 0x2U |
#define | SPICTRL_EVENT_TIP 0x80000000U |
#define | SPICTRL_EVENT_LT 0x4000U |
#define | SPICTRL_EVENT_OV 0x1000U |
#define | SPICTRL_EVENT_UN 0x800U |
#define | SPICTRL_EVENT_MME 0x400U |
#define | SPICTRL_EVENT_NE 0x200U |
#define | SPICTRL_EVENT_NF 0x100U |
#define | SPICTRL_MASK_TIPE 0x80000000U |
#define | SPICTRL_MASK_LTE 0x4000U |
#define | SPICTRL_MASK_OVE 0x1000U |
#define | SPICTRL_MASK_UNE 0x800U |
#define | SPICTRL_MASK_MMEE 0x400U |
#define | SPICTRL_MASK_NEEE 0x200U |
#define | SPICTRL_MASK_NFE 0x100U |
#define | SPICTRL_CMD_LST 0x400000U |
#define | SPICTRL_TX_TDATA_SHIFT 0 |
#define | SPICTRL_TX_TDATA_MASK 0xffffffffU |
#define | SPICTRL_TX_TDATA_GET(_reg) |
#define | SPICTRL_TX_TDATA_SET(_reg, _val) |
#define | SPICTRL_TX_TDATA(_val) |
#define | SPICTRL_RX_RDATA_SHIFT 0 |
#define | SPICTRL_RX_RDATA_MASK 0xffffffffU |
#define | SPICTRL_RX_RDATA_GET(_reg) |
#define | SPICTRL_RX_RDATA_SET(_reg, _val) |
#define | SPICTRL_RX_RDATA(_val) |
#define | SPICTRL_SLVSEL_SLVSEL_SHIFT 0 |
#define | SPICTRL_SLVSEL_SLVSEL_MASK 0x3U |
#define | SPICTRL_SLVSEL_SLVSEL_GET(_reg) |
#define | SPICTRL_SLVSEL_SLVSEL_SET(_reg, _val) |
#define | SPICTRL_SLVSEL_SLVSEL(_val) |
#define | SPICTRL_ASLVSEL_ASLVSEL_SHIFT 0 |
#define | SPICTRL_ASLVSEL_ASLVSEL_MASK 0x3U |
#define | SPICTRL_ASLVSEL_ASLVSEL_GET(_reg) |
#define | SPICTRL_ASLVSEL_ASLVSEL_SET(_reg, _val) |
#define | SPICTRL_ASLVSEL_ASLVSEL(_val) |
Typedefs | |
typedef struct spictrl | spictrl |
This structure defines the SPICTRL register block memory map. | |
This header file defines the SPICTRL register block interface.