[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/atm128 McuSleepC.nc, 1.2, 1.3

David Gay idgay at users.sourceforge.net
Wed Aug 9 15:43:40 PDT 2006


Update of /cvsroot/tinyos/tinyos-2.x/tos/chips/atm128
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv23082

Modified Files:
	McuSleepC.nc 
Log Message:
comment the table


Index: McuSleepC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/atm128/McuSleepC.nc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** McuSleepC.nc	12 Jul 2006 17:01:13 -0000	1.2
--- McuSleepC.nc	9 Aug 2006 22:43:38 -0000	1.3
***************
*** 54,66 ****
     * based on their active components, NOT on their values.
     * Look at atm128hardware.h and page 42 of the ATmeg128
!    * manual (figure 17).*/
    const_uint8_t atm128PowerBits[ATM128_POWER_DOWN + 1] = {
!     0,
!     (1 << SM0),
!     (1 << SM2) | (1 << SM1) | (1 << SM0),
!     (1 << SM1) | (1 << SM0),
!     (1 << SM2) | (1 << SM1),
!     (1 << SM1)};
!     
    mcu_power_t getPowerState() {
      uint8_t diff;
--- 54,66 ----
     * based on their active components, NOT on their values.
     * Look at atm128hardware.h and page 42 of the ATmeg128
!    * manual (table 17).*/
    const_uint8_t atm128PowerBits[ATM128_POWER_DOWN + 1] = {
!     0,				/* idle */
!     (1 << SM0),			/* adc */
!     (1 << SM2) | (1 << SM1) | (1 << SM0), /* ext standby */
!     (1 << SM1) | (1 << SM0),	/* power save */
!     (1 << SM2) | (1 << SM1),	/* standby */
!     (1 << SM1)};		/* power down */
! 
    mcu_power_t getPowerState() {
      uint8_t diff;



More information about the Tinyos-2-commits mailing list