RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Data Structures | Macros
reg_iomm.h File Reference

This header file provides IOMM interfaces. More...

#include <bsp/utility.h>
#include <bspopts.h>

Go to the source code of this file.

Data Structures

struct  tms570_iomm_t
 

Macros

#define TMS570_IOMM_PINMMRx_PINMMRx24To31(val)   BSP_FLD32(val,24, 31)
 
#define TMS570_IOMM_PINMMRx_PINMMRx24To31_GET(reg)   BSP_FLD32GET(reg,24, 31)
 
#define TMS570_IOMM_PINMMRx_PINMMRx24To31_SET(reg, val)   BSP_FLD32SET(reg, val,24, 31)
 
#define TMS570_IOMM_PINMMRx_PINMMRx16To23(val)   BSP_FLD32(val,16, 23)
 
#define TMS570_IOMM_PINMMRx_PINMMRx16To23_GET(reg)   BSP_FLD32GET(reg,16, 23)
 
#define TMS570_IOMM_PINMMRx_PINMMRx16To23_SET(reg, val)   BSP_FLD32SET(reg, val,16, 23)
 
#define TMS570_IOMM_PINMMRx_PINMMRx8To16(val)   BSP_FLD32(val,8, 15)
 
#define TMS570_IOMM_PINMMRx_PINMMRx8To16_GET(reg)   BSP_FLD32GET(reg,8, 15)
 
#define TMS570_IOMM_PINMMRx_PINMMRx8To16_SET(reg, val)   BSP_FLD32SET(reg, val,8, 15)
 
#define TMS570_IOMM_PINMMRx_PINMMRx0To7(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_IOMM_PINMMRx_PINMMRx0To7_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_IOMM_PINMMRx_PINMMRx0To7_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_IOMM_REVISION_REG_REV_SCHEME(val)   BSP_FLD32(val,30, 31)
 
#define TMS570_IOMM_REVISION_REG_REV_SCHEME_GET(reg)   BSP_FLD32GET(reg,30, 31)
 
#define TMS570_IOMM_REVISION_REG_REV_SCHEME_SET(reg, val)   BSP_FLD32SET(reg, val,30, 31)
 
#define TMS570_IOMM_REVISION_REG_REV_MODULE(val)   BSP_FLD32(val,16, 27)
 
#define TMS570_IOMM_REVISION_REG_REV_MODULE_GET(reg)   BSP_FLD32GET(reg,16, 27)
 
#define TMS570_IOMM_REVISION_REG_REV_MODULE_SET(reg, val)   BSP_FLD32SET(reg, val,16, 27)
 
#define TMS570_IOMM_REVISION_REG_REV_RTL(val)   BSP_FLD32(val,11, 15)
 
#define TMS570_IOMM_REVISION_REG_REV_RTL_GET(reg)   BSP_FLD32GET(reg,11, 15)
 
#define TMS570_IOMM_REVISION_REG_REV_RTL_SET(reg, val)   BSP_FLD32SET(reg, val,11, 15)
 
#define TMS570_IOMM_REVISION_REG_REV_MAJOR(val)   BSP_FLD32(val,8, 10)
 
#define TMS570_IOMM_REVISION_REG_REV_MAJOR_GET(reg)   BSP_FLD32GET(reg,8, 10)
 
#define TMS570_IOMM_REVISION_REG_REV_MAJOR_SET(reg, val)   BSP_FLD32SET(reg, val,8, 10)
 
#define TMS570_IOMM_REVISION_REG_REV_CUSTOM(val)   BSP_FLD32(val,6, 7)
 
#define TMS570_IOMM_REVISION_REG_REV_CUSTOM_GET(reg)   BSP_FLD32GET(reg,6, 7)
 
#define TMS570_IOMM_REVISION_REG_REV_CUSTOM_SET(reg, val)   BSP_FLD32SET(reg, val,6, 7)
 
#define TMS570_IOMM_REVISION_REG_REV_MINOR(val)   BSP_FLD32(val,0, 5)
 
#define TMS570_IOMM_REVISION_REG_REV_MINOR_GET(reg)   BSP_FLD32GET(reg,0, 5)
 
#define TMS570_IOMM_REVISION_REG_REV_MINOR_SET(reg, val)   BSP_FLD32SET(reg, val,0, 5)
 
#define TMS570_IOMM_ENDIAN_REG_ENDIAN   BSP_BIT32(0)
 
#define TMS570_IOMM_ERR_RAW_STATUS_REG_ADDR_ERR   BSP_BIT32(1)
 
#define TMS570_IOMM_ERR_RAW_STATUS_REG_PROT_ERR   BSP_BIT32(0)
 
#define TMS570_IOMM_ERR_ENABLED_STATUS_REG_ENABLED_ADDR_ERR   BSP_BIT32(1)
 
#define TMS570_IOMM_ERR_ENABLED_STATUS_REG_ENABLED_PROT_ERR   BSP_BIT32(0)
 
#define TMS570_IOMM_ERR_ENABLE_REG_ADDR_ERR_EN   BSP_BIT32(1)
 
#define TMS570_IOMM_ERR_ENABLE_REG_PROT_ERR_EN   BSP_BIT32(0)
 
#define TMS570_IOMM_ERR_ENABLE_CLR_REG_ADDR_ERR_EN_CLR   BSP_BIT32(1)
 
#define TMS570_IOMM_ERR_ENABLE_CLR_REG_PROT_ERR_EN_CLR   BSP_BIT32(0)
 
#define TMS570_IOMM_FAULT_STATUS_REG_FAULT_ID(val)   BSP_FLD32(val,24, 27)
 
#define TMS570_IOMM_FAULT_STATUS_REG_FAULT_ID_GET(reg)   BSP_FLD32GET(reg,24, 27)
 
#define TMS570_IOMM_FAULT_STATUS_REG_FAULT_ID_SET(reg, val)   BSP_FLD32SET(reg, val,24, 27)
 
#define TMS570_IOMM_FAULT_STATUS_REG_FAULT_MSTID(val)   BSP_FLD32(val,16, 23)
 
#define TMS570_IOMM_FAULT_STATUS_REG_FAULT_MSTID_GET(reg)   BSP_FLD32GET(reg,16, 23)
 
#define TMS570_IOMM_FAULT_STATUS_REG_FAULT_MSTID_SET(reg, val)   BSP_FLD32SET(reg, val,16, 23)
 
#define TMS570_IOMM_FAULT_STATUS_REG_FAULT_PRIVID(val)   BSP_FLD32(val,9, 12)
 
#define TMS570_IOMM_FAULT_STATUS_REG_FAULT_PRIVID_GET(reg)   BSP_FLD32GET(reg,9, 12)
 
#define TMS570_IOMM_FAULT_STATUS_REG_FAULT_PRIVID_SET(reg, val)   BSP_FLD32SET(reg, val,9, 12)
 
#define TMS570_IOMM_FAULT_STATUS_REG_FAULT_TYPE(val)   BSP_FLD32(val,0, 5)
 
#define TMS570_IOMM_FAULT_STATUS_REG_FAULT_TYPE_GET(reg)   BSP_FLD32GET(reg,0, 5)
 
#define TMS570_IOMM_FAULT_STATUS_REG_FAULT_TYPE_SET(reg, val)   BSP_FLD32SET(reg, val,0, 5)
 
#define TMS570_IOMM_FAULT_CLEAR_REG_FAULT_CLEAR   BSP_BIT32(0)
 
#define TMS570_IOMM_PINMUX_FAULT_CLEAR   BSP_BIT32(0)
 

Detailed Description

This header file provides IOMM interfaces.