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

This header file provides GIO interfaces. More...

#include <bsp/utility.h>

Go to the source code of this file.

Data Structures

struct  tms570_gio_port_t
 
struct  tms570_gio_t
 

Macros

#define TMS570_GIO_DIR_GIODIR(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_GIO_DIR_GIODIR_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_GIO_DIR_GIODIR_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_GIO_DIN_GIODIN(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_GIO_DIN_GIODIN_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_GIO_DIN_GIODIN_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_GIO_DOUT_GIODOUT(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_GIO_DOUT_GIODOUT_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_GIO_DOUT_GIODOUT_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_GIO_DSET_GIODSET(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_GIO_DSET_GIODSET_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_GIO_DSET_GIODSET_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_GIO_DCLR_GIODCLR(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_GIO_DCLR_GIODCLR_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_GIO_DCLR_GIODCLR_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_GIO_PDR_7_0(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_GIO_PDR_7_0_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_GIO_PDR_7_0_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_GIO_PULDIS_GIOPULDIS(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_GIO_PULDIS_GIOPULDIS_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_GIO_PULDIS_GIOPULDIS_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_GIO_PSL_GIOPSL(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_GIO_PSL_GIOPSL_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_GIO_PSL_GIOPSL_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_GIO_GCR0_RESET   BSP_BIT32(0)
 
#define TMS570_GIO_INTDET_GIOINTDET_3(val)   BSP_FLD32(val,24, 31)
 
#define TMS570_GIO_INTDET_GIOINTDET_3_GET(reg)   BSP_FLD32GET(reg,24, 31)
 
#define TMS570_GIO_INTDET_GIOINTDET_3_SET(reg, val)   BSP_FLD32SET(reg, val,24, 31)
 
#define TMS570_GIO_INTDET_GIOINTDET_2(val)   BSP_FLD32(val,16, 23)
 
#define TMS570_GIO_INTDET_GIOINTDET_2_GET(reg)   BSP_FLD32GET(reg,16, 23)
 
#define TMS570_GIO_INTDET_GIOINTDET_2_SET(reg, val)   BSP_FLD32SET(reg, val,16, 23)
 
#define TMS570_GIO_INTDET_GIOINTDET_1(val)   BSP_FLD32(val,8, 15)
 
#define TMS570_GIO_INTDET_GIOINTDET_1_GET(reg)   BSP_FLD32GET(reg,8, 15)
 
#define TMS570_GIO_INTDET_GIOINTDET_1_SET(reg, val)   BSP_FLD32SET(reg, val,8, 15)
 
#define TMS570_GIO_INTDET_GIOINTDET_0(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_GIO_INTDET_GIOINTDET_0_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_GIO_INTDET_GIOINTDET_0_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_GIO_POL_GIOPOL_3(val)   BSP_FLD32(val,24, 31)
 
#define TMS570_GIO_POL_GIOPOL_3_GET(reg)   BSP_FLD32GET(reg,24, 31)
 
#define TMS570_GIO_POL_GIOPOL_3_SET(reg, val)   BSP_FLD32SET(reg, val,24, 31)
 
#define TMS570_GIO_POL_GIOPOL_2(val)   BSP_FLD32(val,16, 23)
 
#define TMS570_GIO_POL_GIOPOL_2_GET(reg)   BSP_FLD32GET(reg,16, 23)
 
#define TMS570_GIO_POL_GIOPOL_2_SET(reg, val)   BSP_FLD32SET(reg, val,16, 23)
 
#define TMS570_GIO_POL_GIOPOL_1(val)   BSP_FLD32(val,8, 15)
 
#define TMS570_GIO_POL_GIOPOL_1_GET(reg)   BSP_FLD32GET(reg,8, 15)
 
#define TMS570_GIO_POL_GIOPOL_1_SET(reg, val)   BSP_FLD32SET(reg, val,8, 15)
 
#define TMS570_GIO_POL_GIOPOL_0(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_GIO_POL_GIOPOL_0_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_GIO_POL_GIOPOL_0_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_GIO_ENASET_GIOENASET_3(val)   BSP_FLD32(val,24, 31)
 
#define TMS570_GIO_ENASET_GIOENASET_3_GET(reg)   BSP_FLD32GET(reg,24, 31)
 
#define TMS570_GIO_ENASET_GIOENASET_3_SET(reg, val)   BSP_FLD32SET(reg, val,24, 31)
 
#define TMS570_GIO_ENASET_GIOENASET_2(val)   BSP_FLD32(val,16, 23)
 
#define TMS570_GIO_ENASET_GIOENASET_2_GET(reg)   BSP_FLD32GET(reg,16, 23)
 
#define TMS570_GIO_ENASET_GIOENASET_2_SET(reg, val)   BSP_FLD32SET(reg, val,16, 23)
 
#define TMS570_GIO_ENASET_GIOENASET_1(val)   BSP_FLD32(val,8, 15)
 
#define TMS570_GIO_ENASET_GIOENASET_1_GET(reg)   BSP_FLD32GET(reg,8, 15)
 
#define TMS570_GIO_ENASET_GIOENASET_1_SET(reg, val)   BSP_FLD32SET(reg, val,8, 15)
 
#define TMS570_GIO_ENASET_GIOENASET_0(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_GIO_ENASET_GIOENASET_0_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_GIO_ENASET_GIOENASET_0_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_GIO_ENACLR_GIOENACLR_3(val)   BSP_FLD32(val,24, 31)
 
#define TMS570_GIO_ENACLR_GIOENACLR_3_GET(reg)   BSP_FLD32GET(reg,24, 31)
 
#define TMS570_GIO_ENACLR_GIOENACLR_3_SET(reg, val)   BSP_FLD32SET(reg, val,24, 31)
 
#define TMS570_GIO_ENACLR_GIOENACLR_2(val)   BSP_FLD32(val,16, 23)
 
#define TMS570_GIO_ENACLR_GIOENACLR_2_GET(reg)   BSP_FLD32GET(reg,16, 23)
 
#define TMS570_GIO_ENACLR_GIOENACLR_2_SET(reg, val)   BSP_FLD32SET(reg, val,16, 23)
 
#define TMS570_GIO_ENACLR_GIOENACLR_1(val)   BSP_FLD32(val,8, 15)
 
#define TMS570_GIO_ENACLR_GIOENACLR_1_GET(reg)   BSP_FLD32GET(reg,8, 15)
 
#define TMS570_GIO_ENACLR_GIOENACLR_1_SET(reg, val)   BSP_FLD32SET(reg, val,8, 15)
 
#define TMS570_GIO_ENACLR_GIOENACLR_0(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_GIO_ENACLR_GIOENACLR_0_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_GIO_ENACLR_GIOENACLR_0_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_GIO_LVLSET_GIOLVLSET_3(val)   BSP_FLD32(val,24, 31)
 
#define TMS570_GIO_LVLSET_GIOLVLSET_3_GET(reg)   BSP_FLD32GET(reg,24, 31)
 
#define TMS570_GIO_LVLSET_GIOLVLSET_3_SET(reg, val)   BSP_FLD32SET(reg, val,24, 31)
 
#define TMS570_GIO_LVLSET_GIOLVLSET_2(val)   BSP_FLD32(val,16, 23)
 
#define TMS570_GIO_LVLSET_GIOLVLSET_2_GET(reg)   BSP_FLD32GET(reg,16, 23)
 
#define TMS570_GIO_LVLSET_GIOLVLSET_2_SET(reg, val)   BSP_FLD32SET(reg, val,16, 23)
 
#define TMS570_GIO_LVLSET_GIOLVLSET_1(val)   BSP_FLD32(val,8, 15)
 
#define TMS570_GIO_LVLSET_GIOLVLSET_1_GET(reg)   BSP_FLD32GET(reg,8, 15)
 
#define TMS570_GIO_LVLSET_GIOLVLSET_1_SET(reg, val)   BSP_FLD32SET(reg, val,8, 15)
 
#define TMS570_GIO_LVLSET_GIOLVLSET_0(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_GIO_LVLSET_GIOLVLSET_0_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_GIO_LVLSET_GIOLVLSET_0_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_GIO_LVLCLR_GIOLVLCLR_3(val)   BSP_FLD32(val,24, 31)
 
#define TMS570_GIO_LVLCLR_GIOLVLCLR_3_GET(reg)   BSP_FLD32GET(reg,24, 31)
 
#define TMS570_GIO_LVLCLR_GIOLVLCLR_3_SET(reg, val)   BSP_FLD32SET(reg, val,24, 31)
 
#define TMS570_GIO_LVLCLR_GIOLVLCLR_2(val)   BSP_FLD32(val,16, 23)
 
#define TMS570_GIO_LVLCLR_GIOLVLCLR_2_GET(reg)   BSP_FLD32GET(reg,16, 23)
 
#define TMS570_GIO_LVLCLR_GIOLVLCLR_2_SET(reg, val)   BSP_FLD32SET(reg, val,16, 23)
 
#define TMS570_GIO_LVLCLR_GIOLVLCLR_1(val)   BSP_FLD32(val,8, 15)
 
#define TMS570_GIO_LVLCLR_GIOLVLCLR_1_GET(reg)   BSP_FLD32GET(reg,8, 15)
 
#define TMS570_GIO_LVLCLR_GIOLVLCLR_1_SET(reg, val)   BSP_FLD32SET(reg, val,8, 15)
 
#define TMS570_GIO_LVLCLR_GIOLVLCLR_0(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_GIO_LVLCLR_GIOLVLCLR_0_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_GIO_LVLCLR_GIOLVLCLR_0_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_GIO_FLG_GIOFLG_3(val)   BSP_FLD32(val,24, 31)
 
#define TMS570_GIO_FLG_GIOFLG_3_GET(reg)   BSP_FLD32GET(reg,24, 31)
 
#define TMS570_GIO_FLG_GIOFLG_3_SET(reg, val)   BSP_FLD32SET(reg, val,24, 31)
 
#define TMS570_GIO_FLG_GIOFLG_2(val)   BSP_FLD32(val,16, 23)
 
#define TMS570_GIO_FLG_GIOFLG_2_GET(reg)   BSP_FLD32GET(reg,16, 23)
 
#define TMS570_GIO_FLG_GIOFLG_2_SET(reg, val)   BSP_FLD32SET(reg, val,16, 23)
 
#define TMS570_GIO_FLG_GIOFLG_1(val)   BSP_FLD32(val,8, 15)
 
#define TMS570_GIO_FLG_GIOFLG_1_GET(reg)   BSP_FLD32GET(reg,8, 15)
 
#define TMS570_GIO_FLG_GIOFLG_1_SET(reg, val)   BSP_FLD32SET(reg, val,8, 15)
 
#define TMS570_GIO_FLG_GIOFLG_0(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_GIO_FLG_GIOFLG_0_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_GIO_FLG_GIOFLG_0_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_GIO_OFF1_GIOOFF1(val)   BSP_FLD32(val,0, 5)
 
#define TMS570_GIO_OFF1_GIOOFF1_GET(reg)   BSP_FLD32GET(reg,0, 5)
 
#define TMS570_GIO_OFF1_GIOOFF1_SET(reg, val)   BSP_FLD32SET(reg, val,0, 5)
 
#define TMS570_GIO_OFF2_GIOOFF2(val)   BSP_FLD32(val,0, 5)
 
#define TMS570_GIO_OFF2_GIOOFF2_GET(reg)   BSP_FLD32GET(reg,0, 5)
 
#define TMS570_GIO_OFF2_GIOOFF2_SET(reg, val)   BSP_FLD32SET(reg, val,0, 5)
 
#define TMS570_GIO_EMU1_GIOEMU1(val)   BSP_FLD32(val,0, 5)
 
#define TMS570_GIO_EMU1_GIOEMU1_GET(reg)   BSP_FLD32GET(reg,0, 5)
 
#define TMS570_GIO_EMU1_GIOEMU1_SET(reg, val)   BSP_FLD32SET(reg, val,0, 5)
 
#define TMS570_GIO_EMU2_GIOEMU2(val)   BSP_FLD32(val,0, 5)
 
#define TMS570_GIO_EMU2_GIOEMU2_GET(reg)   BSP_FLD32GET(reg,0, 5)
 
#define TMS570_GIO_EMU2_GIOEMU2_SET(reg, val)   BSP_FLD32SET(reg, val,0, 5)
 
#define TMS570_GIO_ports_GIOEMU2(val)   BSP_FLD32(val,0, 5)
 
#define TMS570_GIO_ports_GIOEMU2_GET(reg)   BSP_FLD32GET(reg,0, 5)
 
#define TMS570_GIO_ports_GIOEMU2_SET(reg, val)   BSP_FLD32SET(reg, val,0, 5)
 

Detailed Description

This header file provides GIO interfaces.