RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Macros
Time-code (TC)

This group contains register bit definitions. More...

Macros

#define GRSPW2_TC_TCTRL_SHIFT   6
 
#define GRSPW2_TC_TCTRL_MASK   0xc0U
 
#define GRSPW2_TC_TCTRL_GET(_reg)
 
#define GRSPW2_TC_TCTRL_SET(_reg, _val)
 
#define GRSPW2_TC_TCTRL(_val)
 
#define GRSPW2_TC_TIMECNT_SHIFT   0
 
#define GRSPW2_TC_TIMECNT_MASK   0x3fU
 
#define GRSPW2_TC_TIMECNT_GET(_reg)
 
#define GRSPW2_TC_TIMECNT_SET(_reg, _val)
 
#define GRSPW2_TC_TIMECNT(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GRSPW2_TC_TCTRL

#define GRSPW2_TC_TCTRL (   _val)
Value:
( ( ( _val ) << GRSPW2_TC_TCTRL_SHIFT ) & \
GRSPW2_TC_TCTRL_MASK )

◆ GRSPW2_TC_TCTRL_GET

#define GRSPW2_TC_TCTRL_GET (   _reg)
Value:
( ( ( _reg ) & GRSPW2_TC_TCTRL_MASK ) >> \
GRSPW2_TC_TCTRL_SHIFT )

◆ GRSPW2_TC_TCTRL_SET

#define GRSPW2_TC_TCTRL_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRSPW2_TC_TCTRL_MASK ) | \
( ( ( _val ) << GRSPW2_TC_TCTRL_SHIFT ) & \
GRSPW2_TC_TCTRL_MASK ) )

◆ GRSPW2_TC_TIMECNT

#define GRSPW2_TC_TIMECNT (   _val)
Value:
( ( ( _val ) << GRSPW2_TC_TIMECNT_SHIFT ) & \
GRSPW2_TC_TIMECNT_MASK )

◆ GRSPW2_TC_TIMECNT_GET

#define GRSPW2_TC_TIMECNT_GET (   _reg)
Value:
( ( ( _reg ) & GRSPW2_TC_TIMECNT_MASK ) >> \
GRSPW2_TC_TIMECNT_SHIFT )

◆ GRSPW2_TC_TIMECNT_SET

#define GRSPW2_TC_TIMECNT_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRSPW2_TC_TIMECNT_MASK ) | \
( ( ( _val ) << GRSPW2_TC_TIMECNT_SHIFT ) & \
GRSPW2_TC_TIMECNT_MASK ) )