Changes between Version 85 and Version 86 of gsc


Ignore:
Timestamp:
09/08/2021 03:30:23 PM (10 months ago)
Author:
Tim Harvey
Comment:

fix GSC_SOFT_POWER_TIME bit fields and add examples

Legend:

Unmodified
Added
Removed
Modified
  • gsc

    v85 v86  
    262262
    263263||= Value =||= Name =||= Description =||
    264 || 0-3 || GSC_SOFT_POWER_TIME_ON || Minimum pushbutton press time required to wake, in seconds ||
    265 || 4-7 || GSC_SOFT_POWER_TIME_OFF || Minimum pushbutton press time required to sleep, in seconds ||
     264|| 0-3 || GSC_SOFT_POWER_TIME_OFF || Minimum pushbutton press time required to sleep, in seconds ||
     265|| 4-7 || GSC_SOFT_POWER_TIME_ON || Minimum pushbutton press time required to wake, in seconds ||
     266
     267Examples:
     268{{{#!bash
     269i2cset -f -y 0 0x20 0x1a 0x01 # hold >1 second to sleep, and >0 seconds to wake (default)
     270i2cset -f -y 0 0x20 0x1a 0x11 # hold >1 second to sleep, and >1 second to wake
     271i2cset -f -y 0 0x20 0x1a 0x25 # hold >5 seconds to sleep, and >2 seconds to wake
     272}}}
     273 * Note that if you set the GSC_SOFT_POWER_TIME_OFF to 0 for >0 seconds it will take precidence over any button pres-and-release events so the board will power down within a second of holding the button down and thus disable any ability for a 1x button press-and-release event to be used.
    266274
    267275[=#GSC_REGISTER_BACKUP]