RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Data Structures | Macros
reg_sys2.h File Reference

This header file provides SYS2 interfaces. More...

#include <bsp/utility.h>

Go to the source code of this file.

Data Structures

struct  tms570_sys2_t
 

Macros

#define TMS570_SYS2_PLLCTL3_ODPLL2(val)   BSP_FLD32(val,29, 31)
 
#define TMS570_SYS2_PLLCTL3_ODPLL2_GET(reg)   BSP_FLD32GET(reg,29, 31)
 
#define TMS570_SYS2_PLLCTL3_ODPLL2_SET(reg, val)   BSP_FLD32SET(reg, val,29, 31)
 
#define TMS570_SYS2_PLLCTL3_PLLDIV2(val)   BSP_FLD32(val,24, 28)
 
#define TMS570_SYS2_PLLCTL3_PLLDIV2_GET(reg)   BSP_FLD32GET(reg,24, 28)
 
#define TMS570_SYS2_PLLCTL3_PLLDIV2_SET(reg, val)   BSP_FLD32SET(reg, val,24, 28)
 
#define TMS570_SYS2_PLLCTL3_REFCLKDIV2(val)   BSP_FLD32(val,16, 21)
 
#define TMS570_SYS2_PLLCTL3_REFCLKDIV2_GET(reg)   BSP_FLD32GET(reg,16, 21)
 
#define TMS570_SYS2_PLLCTL3_REFCLKDIV2_SET(reg, val)   BSP_FLD32SET(reg, val,16, 21)
 
#define TMS570_SYS2_PLLCTL3_PLLMUL2(val)   BSP_FLD32(val,0, 15)
 
#define TMS570_SYS2_PLLCTL3_PLLMUL2_GET(reg)   BSP_FLD32GET(reg,0, 15)
 
#define TMS570_SYS2_PLLCTL3_PLLMUL2_SET(reg, val)   BSP_FLD32SET(reg, val,0, 15)
 
#define TMS570_SYS2_STCCLKDIV_CLKDIV(val)   BSP_FLD32(val,24, 26)
 
#define TMS570_SYS2_STCCLKDIV_CLKDIV_GET(reg)   BSP_FLD32GET(reg,24, 26)
 
#define TMS570_SYS2_STCCLKDIV_CLKDIV_SET(reg, val)   BSP_FLD32SET(reg, val,24, 26)
 
#define TMS570_SYS2_ECPCNTL_ECPSSEL   BSP_BIT32(24)
 
#define TMS570_SYS2_ECPCNTL_ECPCOS   BSP_BIT32(23)
 
#define TMS570_SYS2_ECPCNTL_ECPINSEL(val)   BSP_FLD32(val,6, 17)
 
#define TMS570_SYS2_ECPCNTL_ECPINSEL_GET(reg)   BSP_FLD32GET(reg,6, 17)
 
#define TMS570_SYS2_ECPCNTL_ECPINSEL_SET(reg, val)   BSP_FLD32SET(reg, val,6, 17)
 
#define TMS570_SYS2_ECPCNTL_ECPDIV(val)   BSP_FLD32(val,0, 15)
 
#define TMS570_SYS2_ECPCNTL_ECPDIV_GET(reg)   BSP_FLD32GET(reg,0, 15)
 
#define TMS570_SYS2_ECPCNTL_ECPDIV_SET(reg, val)   BSP_FLD32SET(reg, val,0, 15)
 
#define TMS570_SYS2_CLK2CNTRL_VCLK3R(val)   BSP_FLD32(val,0, 3)
 
#define TMS570_SYS2_CLK2CNTRL_VCLK3R_GET(reg)   BSP_FLD32GET(reg,0, 3)
 
#define TMS570_SYS2_CLK2CNTRL_VCLK3R_SET(reg, val)   BSP_FLD32SET(reg, val,0, 3)
 
#define TMS570_SYS2_VCLKACON1_VCLKA4R(val)   BSP_FLD32(val,24, 26)
 
#define TMS570_SYS2_VCLKACON1_VCLKA4R_GET(reg)   BSP_FLD32GET(reg,24, 26)
 
#define TMS570_SYS2_VCLKACON1_VCLKA4R_SET(reg, val)   BSP_FLD32SET(reg, val,24, 26)
 
#define TMS570_SYS2_VCLKACON1_VCLKA4_DIV_CDDIS   BSP_BIT32(20)
 
#define TMS570_SYS2_VCLKACON1_VCLKA4S(val)   BSP_FLD32(val,16, 19)
 
#define TMS570_SYS2_VCLKACON1_VCLKA4S_GET(reg)   BSP_FLD32GET(reg,16, 19)
 
#define TMS570_SYS2_VCLKACON1_VCLKA4S_SET(reg, val)   BSP_FLD32SET(reg, val,16, 19)
 
#define TMS570_SYS2_VCLKACON1_VCLKA3R(val)   BSP_FLD32(val,8, 10)
 
#define TMS570_SYS2_VCLKACON1_VCLKA3R_GET(reg)   BSP_FLD32GET(reg,8, 10)
 
#define TMS570_SYS2_VCLKACON1_VCLKA3R_SET(reg, val)   BSP_FLD32SET(reg, val,8, 10)
 
#define TMS570_SYS2_VCLKACON1_VCLKA3_DIV_CDDIS   BSP_BIT32(4)
 
#define TMS570_SYS2_VCLKACON1_VCLKA3S(val)   BSP_FLD32(val,0, 3)
 
#define TMS570_SYS2_VCLKACON1_VCLKA3S_GET(reg)   BSP_FLD32GET(reg,0, 3)
 
#define TMS570_SYS2_VCLKACON1_VCLKA3S_SET(reg, val)   BSP_FLD32SET(reg, val,0, 3)
 
#define TMS570_SYS2_CLKSLIP_PLL1_SLIP_FILTER_COUNT(val)   BSP_FLD32(val,8, 13)
 
#define TMS570_SYS2_CLKSLIP_PLL1_SLIP_FILTER_COUNT_GET(reg)   BSP_FLD32GET(reg,8, 13)
 
#define TMS570_SYS2_CLKSLIP_PLL1_SLIP_FILTER_COUNT_SET(reg, val)   BSP_FLD32SET(reg, val,8, 13)
 
#define TMS570_SYS2_CLKSLIP_PLL1_SLIP_FILTER_KEY(val)   BSP_FLD32(val,0, 3)
 
#define TMS570_SYS2_CLKSLIP_PLL1_SLIP_FILTER_KEY_GET(reg)   BSP_FLD32GET(reg,0, 3)
 
#define TMS570_SYS2_CLKSLIP_PLL1_SLIP_FILTER_KEY_SET(reg, val)   BSP_FLD32SET(reg, val,0, 3)
 
#define TMS570_SYS2_EFC_CTLREG_EFC_INSTR_WEN(val)   BSP_FLD32(val,0, 3)
 
#define TMS570_SYS2_EFC_CTLREG_EFC_INSTR_WEN_GET(reg)   BSP_FLD32GET(reg,0, 3)
 
#define TMS570_SYS2_EFC_CTLREG_EFC_INSTR_WEN_SET(reg, val)   BSP_FLD32SET(reg, val,0, 3)
 

Detailed Description

This header file provides SYS2 interfaces.