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

This header file provides POM interfaces. More...

#include <bsp/utility.h>

Go to the source code of this file.

Data Structures

struct  tms570_pom_region_t
 
struct  tms570_pom_t
 

Macros

#define TMS570_POM_PROGSTART_STARTADDRESS(val)   BSP_FLD32(val,0, 22)
 
#define TMS570_POM_PROGSTART_STARTADDRESS_GET(reg)   BSP_FLD32GET(reg,0, 22)
 
#define TMS570_POM_PROGSTART_STARTADDRESS_SET(reg, val)   BSP_FLD32SET(reg, val,0, 22)
 
#define TMS570_POM_OVLSTART_STARTADDRESS(val)   BSP_FLD32(val,0, 22)
 
#define TMS570_POM_OVLSTART_STARTADDRESS_GET(reg)   BSP_FLD32GET(reg,0, 22)
 
#define TMS570_POM_OVLSTART_STARTADDRESS_SET(reg, val)   BSP_FLD32SET(reg, val,0, 22)
 
#define TMS570_POM_REGSIZE_SIZE(val)   BSP_FLD32(val,0, 3)
 
#define TMS570_POM_REGSIZE_SIZE_GET(reg)   BSP_FLD32GET(reg,0, 3)
 
#define TMS570_POM_REGSIZE_SIZE_SET(reg, val)   BSP_FLD32SET(reg, val,0, 3)
 
#define TMS570_POM_GLBCTRL_OTADDR(val)   BSP_FLD32(val,23, 31)
 
#define TMS570_POM_GLBCTRL_OTADDR_GET(reg)   BSP_FLD32GET(reg,23, 31)
 
#define TMS570_POM_GLBCTRL_OTADDR_SET(reg, val)   BSP_FLD32SET(reg, val,23, 31)
 
#define TMS570_POM_GLBCTRL_ETO(val)   BSP_FLD32(val,8, 11)
 
#define TMS570_POM_GLBCTRL_ETO_GET(reg)   BSP_FLD32GET(reg,8, 11)
 
#define TMS570_POM_GLBCTRL_ETO_SET(reg, val)   BSP_FLD32SET(reg, val,8, 11)
 
#define TMS570_POM_GLBCTRL_ON_OFF(val)   BSP_FLD32(val,0, 3)
 
#define TMS570_POM_GLBCTRL_ON_OFF_GET(reg)   BSP_FLD32GET(reg,0, 3)
 
#define TMS570_POM_GLBCTRL_ON_OFF_SET(reg, val)   BSP_FLD32SET(reg, val,0, 3)
 
#define TMS570_POM_REV_SCHEME(val)   BSP_FLD32(val,30, 31)
 
#define TMS570_POM_REV_SCHEME_GET(reg)   BSP_FLD32GET(reg,30, 31)
 
#define TMS570_POM_REV_SCHEME_SET(reg, val)   BSP_FLD32SET(reg, val,30, 31)
 
#define TMS570_POM_REV_FUNC(val)   BSP_FLD32(val,16, 27)
 
#define TMS570_POM_REV_FUNC_GET(reg)   BSP_FLD32GET(reg,16, 27)
 
#define TMS570_POM_REV_FUNC_SET(reg, val)   BSP_FLD32SET(reg, val,16, 27)
 
#define TMS570_POM_REV_RTL(val)   BSP_FLD32(val,11, 15)
 
#define TMS570_POM_REV_RTL_GET(reg)   BSP_FLD32GET(reg,11, 15)
 
#define TMS570_POM_REV_RTL_SET(reg, val)   BSP_FLD32SET(reg, val,11, 15)
 
#define TMS570_POM_REV_MAJOR(val)   BSP_FLD32(val,8, 10)
 
#define TMS570_POM_REV_MAJOR_GET(reg)   BSP_FLD32GET(reg,8, 10)
 
#define TMS570_POM_REV_MAJOR_SET(reg, val)   BSP_FLD32SET(reg, val,8, 10)
 
#define TMS570_POM_REV_CUSTOM(val)   BSP_FLD32(val,6, 7)
 
#define TMS570_POM_REV_CUSTOM_GET(reg)   BSP_FLD32GET(reg,6, 7)
 
#define TMS570_POM_REV_CUSTOM_SET(reg, val)   BSP_FLD32SET(reg, val,6, 7)
 
#define TMS570_POM_REV_5_0(val)   BSP_FLD32(val,0, 5)
 
#define TMS570_POM_REV_5_0_GET(reg)   BSP_FLD32GET(reg,0, 5)
 
#define TMS570_POM_REV_5_0_SET(reg, val)   BSP_FLD32SET(reg, val,0, 5)
 
#define TMS570_POM_CLKCTRL_CLK_GATE_OFF   BSP_BIT32(0)
 
#define TMS570_POM_FLG_TO   BSP_BIT32(0)
 
#define TMS570_POM_CLAIMSET_SET1   BSP_BIT32(1)
 
#define TMS570_POM_CLAIMSET_SET0   BSP_BIT32(0)
 
#define TMS570_POM_CLAIMCLR_CLR1   BSP_BIT32(1)
 
#define TMS570_POM_CLAIMCLR_CLR0   BSP_BIT32(0)
 
#define TMS570_POM_DEVTYPE_Sub_Type(val)   BSP_FLD32(val,4, 7)
 
#define TMS570_POM_DEVTYPE_Sub_Type_GET(reg)   BSP_FLD32GET(reg,4, 7)
 
#define TMS570_POM_DEVTYPE_Sub_Type_SET(reg, val)   BSP_FLD32SET(reg, val,4, 7)
 
#define TMS570_POM_DEVTYPE_Major_Type(val)   BSP_FLD32(val,0, 3)
 
#define TMS570_POM_DEVTYPE_Major_Type_GET(reg)   BSP_FLD32GET(reg,0, 3)
 
#define TMS570_POM_DEVTYPE_Major_Type_SET(reg, val)   BSP_FLD32SET(reg, val,0, 3)
 
#define TMS570_POM_PERIPHERALID4_4KB_Count(val)   BSP_FLD32(val,4, 7)
 
#define TMS570_POM_PERIPHERALID4_4KB_Count_GET(reg)   BSP_FLD32GET(reg,4, 7)
 
#define TMS570_POM_PERIPHERALID4_4KB_Count_SET(reg, val)   BSP_FLD32SET(reg, val,4, 7)
 
#define TMS570_POM_PERIPHERALID4_JEP_Continuation(val)   BSP_FLD32(val,0, 3)
 
#define TMS570_POM_PERIPHERALID4_JEP_Continuation_GET(reg)   BSP_FLD32GET(reg,0, 3)
 
#define TMS570_POM_PERIPHERALID4_JEP_Continuation_SET(reg, val)   BSP_FLD32SET(reg, val,0, 3)
 
#define TMS570_POM_PERIPHERALID0_Part_Number(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_POM_PERIPHERALID0_Part_Number_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_POM_PERIPHERALID0_Part_Number_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_POM_PERIPHERALID1_JEP106_Identity(val)   BSP_FLD32(val,4, 7)
 
#define TMS570_POM_PERIPHERALID1_JEP106_Identity_GET(reg)   BSP_FLD32GET(reg,4, 7)
 
#define TMS570_POM_PERIPHERALID1_JEP106_Identity_SET(reg, val)   BSP_FLD32SET(reg, val,4, 7)
 
#define TMS570_POM_PERIPHERALID1_Part_Number(val)   BSP_FLD32(val,0, 3)
 
#define TMS570_POM_PERIPHERALID1_Part_Number_GET(reg)   BSP_FLD32GET(reg,0, 3)
 
#define TMS570_POM_PERIPHERALID1_Part_Number_SET(reg, val)   BSP_FLD32SET(reg, val,0, 3)
 
#define TMS570_POM_PERIPHERALID2_Revision(val)   BSP_FLD32(val,4, 7)
 
#define TMS570_POM_PERIPHERALID2_Revision_GET(reg)   BSP_FLD32GET(reg,4, 7)
 
#define TMS570_POM_PERIPHERALID2_Revision_SET(reg, val)   BSP_FLD32SET(reg, val,4, 7)
 
#define TMS570_POM_PERIPHERALID2_JEDEC   BSP_BIT32(3)
 
#define TMS570_POM_PERIPHERALID2_JEP106_Identity(val)   BSP_FLD32(val,0, 2)
 
#define TMS570_POM_PERIPHERALID2_JEP106_Identity_GET(reg)   BSP_FLD32GET(reg,0, 2)
 
#define TMS570_POM_PERIPHERALID2_JEP106_Identity_SET(reg, val)   BSP_FLD32SET(reg, val,0, 2)
 
#define TMS570_POM_COMPONENTID0_Preamble(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_POM_COMPONENTID0_Preamble_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_POM_COMPONENTID0_Preamble_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_POM_COMPONENTID1_Component_Class(val)   BSP_FLD32(val,4, 7)
 
#define TMS570_POM_COMPONENTID1_Component_Class_GET(reg)   BSP_FLD32GET(reg,4, 7)
 
#define TMS570_POM_COMPONENTID1_Component_Class_SET(reg, val)   BSP_FLD32SET(reg, val,4, 7)
 
#define TMS570_POM_COMPONENTID1_Preamble(val)   BSP_FLD32(val,0, 3)
 
#define TMS570_POM_COMPONENTID1_Preamble_GET(reg)   BSP_FLD32GET(reg,0, 3)
 
#define TMS570_POM_COMPONENTID1_Preamble_SET(reg, val)   BSP_FLD32SET(reg, val,0, 3)
 
#define TMS570_POM_COMPONENTID2_Preamble(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_POM_COMPONENTID2_Preamble_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_POM_COMPONENTID2_Preamble_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_POM_COMPONENTID3_Preamble(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_POM_COMPONENTID3_Preamble_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_POM_COMPONENTID3_Preamble_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 

Detailed Description

This header file provides POM interfaces.