Example #1
0
def TIM_EM_SET(n,s):	
	return (_SBF(((n << 1) + 4), (s & 0x03)))
Example #2
0
def TIM_EM_MASK(n):
	return (_SBF(((n << 1) + 4), 0x03))
Example #3
0
def TIM_EDGE_MASK(n):
	return (_SBF((n * 3), 0x03))