[Tinyos-beta-commits] CVS: tinyos-1.x/beta/platform/pxa27x pxa27x_registers.h, 1.5, 1.6

Robbie Adler radler at users.sourceforge.net
Thu Aug 4 15:36:45 PDT 2005


Update of /cvsroot/tinyos/tinyos-1.x/beta/platform/pxa27x
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3168

Modified Files:
	pxa27x_registers.h 
Log Message:
added missing register bit definitions plus some new macros

Index: pxa27x_registers.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/platform/pxa27x/pxa27x_registers.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** pxa27x_registers.h	26 Jul 2005 01:40:11 -0000	1.5
--- pxa27x_registers.h	4 Aug 2005 22:36:33 -0000	1.6
***************
*** 79,82 ****
--- 79,91 ----
  #define SA1110	_PXAREG(0x48000064) /* SA-1110 Compatibility Mode for Static Memory register 6-70 */
  
+ /* SXCNFG Bit defs */
+ #define SXCNFG_SXEN0 (1)
+ #define SXCNFG_SXEN1 (1<<1)
+ #define SXCNFG_SXCL0(_x) (((_x) & 0x7) << 2)
+ #define SXCNFG_SXTP0(_x) (((_x) & 0x3) << 12)
+ #define SXCNFG_SXCLEXT0 (1<<15)
+ 
+ /* SA1110 Bit defs */
+ #define SA1110_SXSTACK(_x) (((_x) & 0x3) << 12)
  /******************************************************************************/
  /* LCD Controller */
***************
*** 1323,1326 ****
--- 1332,1338 ----
  #define CCCR_M_MASK	0x0060		/* Memory Frequency to Run Mode Frequency Multiplier */
  #define CCCR_L_MASK	0x001f		/* Crystal Frequency to Memory Frequency Multiplier */
+ #define CCCR_2N(_x)      (((_x) & 0xf) << 7)
+ #define CCCR_L(_x)      (((_x) & 0x1f))
+ 
  
  #define CKEN24_CIF	(1 << 24)	/* CIF Unit Clock Enable */



More information about the Tinyos-beta-commits mailing list