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 | |
| 267 | Examples: |
| 268 | {{{#!bash |
| 269 | i2cset -f -y 0 0x20 0x1a 0x01 # hold >1 second to sleep, and >0 seconds to wake (default) |
| 270 | i2cset -f -y 0 0x20 0x1a 0x11 # hold >1 second to sleep, and >1 second to wake |
| 271 | i2cset -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. |