€•úŒsphinx.addnodes”Œdocument”“”)”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)”}”(hhh]”(hŒ pending_xref”“”)”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…””}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ*/translations/zh_CN/leds/ledtrig-transient”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ*/translations/zh_TW/leds/ledtrig-transient”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ*/translations/it_IT/leds/ledtrig-transient”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ*/translations/ja_JP/leds/ledtrig-transient”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ*/translations/ko_KR/leds/ledtrig-transient”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ*/translations/sp_SP/leds/ledtrig-transient”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒLED Transient Trigger”h]”hŒLED Transient Trigger”…””}”(hh¨hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¦hh£hžhhŸŒD/var/lib/git/docbuild/linux/Documentation/leds/ledtrig-transient.rst”h KubhŒ paragraph”“”)”}”(hXwThe leds timer trigger does not currently have an interface to activate a one shot timer. The current support allows for setting two timers, one for specifying how long a state to be on, and the second for how long the state to be off. The delay_on value specifies the time period an LED should stay in on state, followed by a delay_off value that specifies how long the LED should stay in off state. The on and off cycle repeats until the trigger gets deactivated. There is no provision for one time activation to implement features that require an on or off state to be held just once and then stay in the original state forever.”h]”hXwThe leds timer trigger does not currently have an interface to activate a one shot timer. The current support allows for setting two timers, one for specifying how long a state to be on, and the second for how long the state to be off. The delay_on value specifies the time period an LED should stay in on state, followed by a delay_off value that specifies how long the LED should stay in off state. The on and off cycle repeats until the trigger gets deactivated. There is no provision for one time activation to implement features that require an on or off state to be held just once and then stay in the original state forever.”…””}”(hh¹hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khh£hžhubh¸)”}”(hŒöWithout one shot timer interface, user space can still use timer trigger to set a timer to hold a state, however when user space application crashes or goes away without deactivating the timer, the hardware will be left in that state permanently.”h]”hŒöWithout one shot timer interface, user space can still use timer trigger to set a timer to hold a state, however when user space application crashes or goes away without deactivating the timer, the hardware will be left in that state permanently.”…””}”(hhÇhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khh£hžhubh¸)”}”(hŒ˜Transient trigger addresses the need for one shot timer activation. The transient trigger can be enabled and disabled just like the other leds triggers.”h]”hŒ˜Transient trigger addresses the need for one shot timer activation. The transient trigger can be enabled and disabled just like the other leds triggers.”…””}”(hhÕhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khh£hžhubh¸)”}”(hX When an led class device driver registers itself, it can specify all leds triggers it supports and a default trigger. During registration, activation routine for the default trigger gets called. During registration of an led class device, the LED state does not change.”h]”hX When an led class device driver registers itself, it can specify all leds triggers it supports and a default trigger. During registration, activation routine for the default trigger gets called. During registration of an led class device, the LED state does not change.”…””}”(hhãhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khh£hžhubh¸)”}”(hŒ‡When the driver unregisters, deactivation routine for the currently active trigger will be called, and LED state is changed to LED_OFF.”h]”hŒ‡When the driver unregisters, deactivation routine for the currently active trigger will be called, and LED state is changed to LED_OFF.”…””}”(hhñhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khh£hžhubh¸)”}”(hXÔDriver suspend changes the LED state to LED_OFF and resume doesn't change the state. Please note that there is no explicit interaction between the suspend and resume actions and the currently enabled trigger. LED state changes are suspended while the driver is in suspend state. Any timers that are active at the time driver gets suspended, continue to run, without being able to actually change the LED state. Once driver is resumed, triggers start functioning again.”h]”hXÖDriver suspend changes the LED state to LED_OFF and resume doesn’t change the state. Please note that there is no explicit interaction between the suspend and resume actions and the currently enabled trigger. LED state changes are suspended while the driver is in suspend state. Any timers that are active at the time driver gets suspended, continue to run, without being able to actually change the LED state. Once driver is resumed, triggers start functioning again.”…””}”(hhÿhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K hh£hžhubh¸)”}”(hŒ×LED state changes are controlled using brightness which is a common led class device property. When brightness is set to 0 from user space via echo 0 > brightness, it will result in deactivating the current trigger.”h]”hŒ×LED state changes are controlled using brightness which is a common led class device property. When brightness is set to 0 from user space via echo 0 > brightness, it will result in deactivating the current trigger.”…””}”(hj hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K(hh£hžhubh¸)”}”(hXbTransient trigger uses standard register and unregister interfaces. During trigger registration, for each led class device that specifies this trigger as its default trigger, trigger activation routine will get called. During registration, the LED state does not change, unless there is another trigger active, in which case LED state changes to LED_OFF.”h]”hXbTransient trigger uses standard register and unregister interfaces. During trigger registration, for each led class device that specifies this trigger as its default trigger, trigger activation routine will get called. During registration, the LED state does not change, unless there is another trigger active, in which case LED state changes to LED_OFF.”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K,hh£hžhubh¸)”}”(hŒADuring trigger unregistration, LED state gets changed to LED_OFF.”h]”hŒADuring trigger unregistration, LED state gets changed to LED_OFF.”…””}”(hj)hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K2hh£hžhubh¸)”}”(hXšTransient trigger activation routine doesn't change the LED state. It creates its properties and does its initialization. Transient trigger deactivation routine, will cancel any timer that is active before it cleans up and removes the properties it created. It will restore the LED state to non-transient state. When driver gets suspended, irrespective of the transient state, the LED state changes to LED_OFF.”h]”hXœTransient trigger activation routine doesn’t change the LED state. It creates its properties and does its initialization. Transient trigger deactivation routine, will cancel any timer that is active before it cleans up and removes the properties it created. It will restore the LED state to non-transient state. When driver gets suspended, irrespective of the transient state, the LED state changes to LED_OFF.”…””}”(hj7hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K4hh£hžhubh¸)”}”(hŒ~Transient trigger can be enabled and disabled from user space on led class devices, that support this trigger as shown below::”h]”hŒ}Transient trigger can be enabled and disabled from user space on led class devices, that support this trigger as shown below:”…””}”(hjEhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K;hh£hžhubhŒ literal_block”“”)”}”(hŒ,echo transient > trigger echo none > trigger”h]”hŒ,echo transient > trigger echo none > trigger”…””}”hjUsbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1jShŸh¶h K>hh£hžhubhŒdefinition_list”“”)”}”(hhh]”hŒdefinition_list_item”“”)”}”(hŒ=NOTE: Add a new property trigger state to control the state. ”h]”(hŒterm”“”)”}”(hŒNOTE:”h]”hŒNOTE:”…””}”(hjrhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jphŸh¶h KBhjlubhŒ definition”“”)”}”(hhh]”h¸)”}”(hŒ6Add a new property trigger state to control the state.”h]”hŒ6Add a new property trigger state to control the state.”…””}”(hj…hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h KBhj‚ubah}”(h]”h ]”h"]”h$]”h&]”uh1j€hjlubeh}”(h]”h ]”h"]”h$]”h&]”uh1jjhŸh¶h KBhjgubah}”(h]”h ]”h"]”h$]”h&]”uh1jehh£hžhhŸh¶h Nubh¸)”}”(hŒ•This trigger exports three properties, activate, state, and duration. When transient trigger is activated these properties are set to default values.”h]”hŒ•This trigger exports three properties, activate, state, and duration. When transient trigger is activated these properties are set to default values.”…””}”(hj¥hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h KDhh£hžhubhŒ bullet_list”“”)”}”(hhh]”(hŒ list_item”“”)”}”(hŒEduration allows setting timer value in msecs. The initial value is 0.”h]”h¸)”}”(hj¼h]”hŒEduration allows setting timer value in msecs. The initial value is 0.”…””}”(hj¾hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h KGhjºubah}”(h]”h ]”h"]”h$]”h&]”uh1j¸hjµhžhhŸh¶h Nubj¹)”}”(hŒ¸activate allows activating and deactivating the timer specified by duration as needed. The initial and default value is 0. This will allow duration to be set after trigger activation.”h]”h¸)”}”(hŒ¸activate allows activating and deactivating the timer specified by duration as needed. The initial and default value is 0. This will allow duration to be set after trigger activation.”h]”hŒ¸activate allows activating and deactivating the timer specified by duration as needed. The initial and default value is 0. This will allow duration to be set after trigger activation.”…””}”(hjÕhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h KHhjÑubah}”(h]”h ]”h"]”h$]”h&]”uh1j¸hjµhžhhŸh¶h Nubj¹)”}”(hX×state allows user to specify a transient state to be held for the specified duration. activate - one shot timer activate mechanism. 1 when activated, 0 when deactivated. default value is zero when transient trigger is enabled, to allow duration to be set. activate state indicates a timer with a value of specified duration running. deactivated state indicates that there is no active timer running. duration - one shot timer value. When activate is set, duration value is used to start a timer that runs once. This value doesn't get changed by the trigger unless user does a set via echo new_value > duration state - transient state to be held. It has two values 0 or 1. 0 maps to LED_OFF and 1 maps to LED_FULL. The specified state is held for the duration of the one shot timer and then the state gets changed to the non-transient state which is the inverse of transient state. If state = LED_FULL, when the timer runs out the state will go back to LED_OFF. If state = LED_OFF, when the timer runs out the state will go back to LED_FULL. Please note that current LED state is not checked prior to changing the state to the specified state. Driver could map these values to inverted depending on the default states it defines for the LED in its brightness_set() interface which is called from the led brightness_set() interfaces to control the LED state. ”h]”(h¸)”}”(hŒUstate allows user to specify a transient state to be held for the specified duration.”h]”hŒUstate allows user to specify a transient state to be held for the specified duration.”…””}”(hjíhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h KKhjéubhŒ block_quote”“”)”}”(hXÌactivate - one shot timer activate mechanism. 1 when activated, 0 when deactivated. default value is zero when transient trigger is enabled, to allow duration to be set. activate state indicates a timer with a value of specified duration running. deactivated state indicates that there is no active timer running. duration - one shot timer value. When activate is set, duration value is used to start a timer that runs once. This value doesn't get changed by the trigger unless user does a set via echo new_value > duration state - transient state to be held. It has two values 0 or 1. 0 maps to LED_OFF and 1 maps to LED_FULL. The specified state is held for the duration of the one shot timer and then the state gets changed to the non-transient state which is the inverse of transient state. If state = LED_FULL, when the timer runs out the state will go back to LED_OFF. If state = LED_OFF, when the timer runs out the state will go back to LED_FULL. Please note that current LED state is not checked prior to changing the state to the specified state. Driver could map these values to inverted depending on the default states it defines for the LED in its brightness_set() interface which is called from the led brightness_set() interfaces to control the LED state. ”h]”jf)”}”(hhh]”(jk)”}”(hXIactivate - one shot timer activate mechanism. 1 when activated, 0 when deactivated. default value is zero when transient trigger is enabled, to allow duration to be set. activate state indicates a timer with a value of specified duration running. deactivated state indicates that there is no active timer running. ”h]”(jq)”}”(hŒactivate”h]”hŒactivate”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jphŸh¶h KWhjubj)”}”(hhh]”j´)”}”(hhh]”j¹)”}”(hX0one shot timer activate mechanism. 1 when activated, 0 when deactivated. default value is zero when transient trigger is enabled, to allow duration to be set. activate state indicates a timer with a value of specified duration running. deactivated state indicates that there is no active timer running. ”h]”(h¸)”}”(hŒžone shot timer activate mechanism. 1 when activated, 0 when deactivated. default value is zero when transient trigger is enabled, to allow duration to be set.”h]”hŒžone shot timer activate mechanism. 1 when activated, 0 when deactivated. default value is zero when transient trigger is enabled, to allow duration to be set.”…””}”(hj hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h KOhjubh¸)”}”(hŒactivate state indicates a timer with a value of specified duration running. deactivated state indicates that there is no active timer running.”h]”hŒactivate state indicates a timer with a value of specified duration running. deactivated state indicates that there is no active timer running.”…””}”(hj.hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h KThjubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¸hjubah}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ-”uh1j³hŸh¶h KOhjubah}”(h]”h ]”h"]”h$]”h&]”uh1j€hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jjhŸh¶h KWhjubjk)”}”(hŒØduration - one shot timer value. When activate is set, duration value is used to start a timer that runs once. This value doesn't get changed by the trigger unless user does a set via echo new_value > duration ”h]”(jq)”}”(hŒduration”h]”hŒduration”…””}”(hjZhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jphŸh¶h K]hjVubj)”}”(hhh]”j´)”}”(hhh]”j¹)”}”(hŒÇone shot timer value. When activate is set, duration value is used to start a timer that runs once. This value doesn't get changed by the trigger unless user does a set via echo new_value > duration ”h]”h¸)”}”(hŒÆone shot timer value. When activate is set, duration value is used to start a timer that runs once. This value doesn't get changed by the trigger unless user does a set via echo new_value > duration”h]”hŒÈone shot timer value. When activate is set, duration value is used to start a timer that runs once. This value doesn’t get changed by the trigger unless user does a set via echo new_value > duration”…””}”(hjrhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h KZhjnubah}”(h]”h ]”h"]”h$]”h&]”uh1j¸hjkubah}”(h]”h ]”h"]”h$]”h&]”jHjIuh1j³hŸh¶h KZhjhubah}”(h]”h ]”h"]”h$]”h&]”uh1j€hjVubeh}”(h]”h ]”h"]”h$]”h&]”uh1jjhŸh¶h K]hjubjk)”}”(hXstate - transient state to be held. It has two values 0 or 1. 0 maps to LED_OFF and 1 maps to LED_FULL. The specified state is held for the duration of the one shot timer and then the state gets changed to the non-transient state which is the inverse of transient state. If state = LED_FULL, when the timer runs out the state will go back to LED_OFF. If state = LED_OFF, when the timer runs out the state will go back to LED_FULL. Please note that current LED state is not checked prior to changing the state to the specified state. Driver could map these values to inverted depending on the default states it defines for the LED in its brightness_set() interface which is called from the led brightness_set() interfaces to control the LED state. ”h]”(jq)”}”(hŒstate”h]”hŒstate”…””}”(hjœhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jphŸh¶h Knhj˜ubj)”}”(hhh]”j´)”}”(hhh]”j¹)”}”(hXãtransient state to be held. It has two values 0 or 1. 0 maps to LED_OFF and 1 maps to LED_FULL. The specified state is held for the duration of the one shot timer and then the state gets changed to the non-transient state which is the inverse of transient state. If state = LED_FULL, when the timer runs out the state will go back to LED_OFF. If state = LED_OFF, when the timer runs out the state will go back to LED_FULL. Please note that current LED state is not checked prior to changing the state to the specified state. Driver could map these values to inverted depending on the default states it defines for the LED in its brightness_set() interface which is called from the led brightness_set() interfaces to control the LED state. ”h]”h¸)”}”(hXâtransient state to be held. It has two values 0 or 1. 0 maps to LED_OFF and 1 maps to LED_FULL. The specified state is held for the duration of the one shot timer and then the state gets changed to the non-transient state which is the inverse of transient state. If state = LED_FULL, when the timer runs out the state will go back to LED_OFF. If state = LED_OFF, when the timer runs out the state will go back to LED_FULL. Please note that current LED state is not checked prior to changing the state to the specified state. Driver could map these values to inverted depending on the default states it defines for the LED in its brightness_set() interface which is called from the led brightness_set() interfaces to control the LED state.”h]”hXâtransient state to be held. It has two values 0 or 1. 0 maps to LED_OFF and 1 maps to LED_FULL. The specified state is held for the duration of the one shot timer and then the state gets changed to the non-transient state which is the inverse of transient state. If state = LED_FULL, when the timer runs out the state will go back to LED_OFF. If state = LED_OFF, when the timer runs out the state will go back to LED_FULL. Please note that current LED state is not checked prior to changing the state to the specified state. Driver could map these values to inverted depending on the default states it defines for the LED in its brightness_set() interface which is called from the led brightness_set() interfaces to control the LED state.”…””}”(hj´hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K`hj°ubah}”(h]”h ]”h"]”h$]”h&]”uh1j¸hj­ubah}”(h]”h ]”h"]”h$]”h&]”jHjIuh1j³hŸh¶h K`hjªubah}”(h]”h ]”h"]”h$]”h&]”uh1j€hj˜ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jjhŸh¶h Knhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jehjýubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhŸh¶h KNhjéubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¸hjµhžhhŸh¶h Nubeh}”(h]”h ]”h"]”h$]”h&]”jHjIuh1j³hŸh¶h KGhh£hžhubh¸)”}”(hXmWhen timer expires activate goes back to deactivated state, duration is left at the set value to be used when activate is set at a future time. This will allow user app to set the time once and activate it to run it once for the specified value as needed. When timer expires, state is restored to the non-transient state which is the inverse of the transient state:”h]”hXmWhen timer expires activate goes back to deactivated state, duration is left at the set value to be used when activate is set at a future time. This will allow user app to set the time once and activate it to run it once for the specified value as needed. When timer expires, state is restored to the non-transient state which is the inverse of the transient state:”…””}”(hjòhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Kphh£hžhubjü)”}”(hXZ================= =============================================== echo 1 > activate starts timer = duration when duration is not 0. echo 0 > activate cancels currently running timer. echo n > duration stores timer value to be used upon next activate. Currently active timer if any, continues to run for the specified time. echo 0 > duration stores timer value to be used upon next activate. Currently active timer if any, continues to run for the specified time. echo 1 > state stores desired transient state LED_FULL to be held for the specified duration. echo 0 > state stores desired transient state LED_OFF to be held for the specified duration. ================= =============================================== ”h]”hŒtable”“”)”}”(hhh]”hŒtgroup”“”)”}”(hhh]”(hŒcolspec”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jhj ubj)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K/uh1jhj ubhŒtbody”“”)”}”(hhh]”(hŒrow”“”)”}”(hhh]”(hŒentry”“”)”}”(hhh]”h¸)”}”(hŒecho 1 > activate”h]”hŒecho 1 > activate”…””}”(hj3hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Kwhj0ubah}”(h]”h ]”h"]”h$]”h&]”uh1j.hj+ubj/)”}”(hhh]”h¸)”}”(hŒ/starts timer = duration when duration is not 0.”h]”hŒ/starts timer = duration when duration is not 0.”…””}”(hjJhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h KwhjGubah}”(h]”h ]”h"]”h$]”h&]”uh1j.hj+ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j)hj&ubj*)”}”(hhh]”(j/)”}”(hhh]”h¸)”}”(hŒecho 0 > activate”h]”hŒecho 0 > activate”…””}”(hjjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Kxhjgubah}”(h]”h ]”h"]”h$]”h&]”uh1j.hjdubj/)”}”(hhh]”h¸)”}”(hŒ cancels currently running timer.”h]”hŒ cancels currently running timer.”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Kxhj~ubah}”(h]”h ]”h"]”h$]”h&]”uh1j.hjdubeh}”(h]”h ]”h"]”h$]”h&]”uh1j)hj&ubj*)”}”(hhh]”(j/)”}”(hhh]”h¸)”}”(hŒecho n > duration”h]”hŒecho n > duration”…””}”(hj¡hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Kyhjžubah}”(h]”h ]”h"]”h$]”h&]”uh1j.hj›ubj/)”}”(hhh]”h¸)”}”(hŒystores timer value to be used upon next activate. Currently active timer if any, continues to run for the specified time.”h]”hŒystores timer value to be used upon next activate. Currently active timer if any, continues to run for the specified time.”…””}”(hj¸hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Kyhjµubah}”(h]”h ]”h"]”h$]”h&]”uh1j.hj›ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j)hj&ubj*)”}”(hhh]”(j/)”}”(hhh]”h¸)”}”(hŒecho 0 > duration”h]”hŒecho 0 > duration”…””}”(hjØhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K|hjÕubah}”(h]”h ]”h"]”h$]”h&]”uh1j.hjÒubj/)”}”(hhh]”h¸)”}”(hŒystores timer value to be used upon next activate. Currently active timer if any, continues to run for the specified time.”h]”hŒystores timer value to be used upon next activate. Currently active timer if any, continues to run for the specified time.”…””}”(hjïhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K|hjìubah}”(h]”h ]”h"]”h$]”h&]”uh1j.hjÒubeh}”(h]”h ]”h"]”h$]”h&]”uh1j)hj&ubj*)”}”(hhh]”(j/)”}”(hhh]”h¸)”}”(hŒecho 1 > state”h]”hŒecho 1 > state”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j.hj ubj/)”}”(hhh]”h¸)”}”(hŒNstores desired transient state LED_FULL to be held for the specified duration.”h]”hŒNstores desired transient state LED_FULL to be held for the specified duration.”…””}”(hj&hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khj#ubah}”(h]”h ]”h"]”h$]”h&]”uh1j.hj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j)hj&ubj*)”}”(hhh]”(j/)”}”(hhh]”h¸)”}”(hŒecho 0 > state”h]”hŒecho 0 > state”…””}”(hjFhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h KhjCubah}”(h]”h ]”h"]”h$]”h&]”uh1j.hj@ubj/)”}”(hhh]”h¸)”}”(hŒMstores desired transient state LED_OFF to be held for the specified duration.”h]”hŒMstores desired transient state LED_OFF to be held for the specified duration.”…””}”(hj]hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h KhjZubah}”(h]”h ]”h"]”h$]”h&]”uh1j.hj@ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j)hj&ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j$hj ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhŸh¶h Kvhh£hžhubh¢)”}”(hhh]”(h§)”}”(hŒWhat is not supported”h]”hŒWhat is not supported”…””}”(hj“hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¦hjhžhhŸh¶h K†ubj´)”}”(hhh]”j¹)”}”(hŒYTimer activation is one shot and extending and/or shortening the timer is not supported. ”h]”h¸)”}”(hŒXTimer activation is one shot and extending and/or shortening the timer is not supported.”h]”hŒXTimer activation is one shot and extending and/or shortening the timer is not supported.”…””}”(hj¨hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Kˆhj¤ubah}”(h]”h ]”h"]”h$]”h&]”uh1j¸hj¡hžhhŸh¶h Nubah}”(h]”h ]”h"]”h$]”h&]”jHjIuh1j³hŸh¶h Kˆhjhžhubeh}”(h]”Œwhat-is-not-supported”ah ]”h"]”Œwhat is not supported”ah$]”h&]”uh1h¡hh£hžhhŸh¶h K†ubh¢)”}”(hhh]”(h§)”}”(hŒExamples”h]”hŒExamples”…””}”(hjÍhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¦hjÊhžhhŸh¶h KŒubh¸)”}”(hŒ use-case 1::”h]”hŒ use-case 1:”…””}”(hjÛhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h KŽhjÊhžhubjT)”}”(hŒ9echo transient > trigger echo n > duration echo 1 > state”h]”hŒ9echo transient > trigger echo n > duration echo 1 > state”…””}”hjésbah}”(h]”h ]”h"]”h$]”h&]”jcjduh1jShŸh¶h KhjÊhžhubh¸)”}”(hŒ%repeat the following step as needed::”h]”hŒ$repeat the following step as needed:”…””}”(hj÷hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K”hjÊhžhubjT)”}”(hŒecho 1 > activate - start timer = duration to run once echo 1 > activate - start timer = duration to run once echo none > trigger”h]”hŒecho 1 > activate - start timer = duration to run once echo 1 > activate - start timer = duration to run once echo none > trigger”…””}”hjsbah}”(h]”h ]”h"]”h$]”h&]”jcjduh1jShŸh¶h K–hjÊhžhubh¸)”}”(hŒHThis trigger is intended to be used for the following example use cases:”h]”hŒHThis trigger is intended to be used for the following example use cases:”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h KšhjÊhžhubjü)”}”(hX0- Use of LED by user space app as activity indicator. - Use of LED by user space app as a kind of watchdog indicator -- as long as the app is alive, it can keep the LED illuminated, if it dies the LED will be extinguished automatically. - Use by any user space app that needs a transient GPIO output.”h]”j´)”}”(hhh]”(j¹)”}”(hŒ3Use of LED by user space app as activity indicator.”h]”h¸)”}”(hj*h]”hŒ3Use of LED by user space app as activity indicator.”…””}”(hj,hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Kœhj(ubah}”(h]”h ]”h"]”h$]”h&]”uh1j¸hj%ubj¹)”}”(hŒ´Use of LED by user space app as a kind of watchdog indicator -- as long as the app is alive, it can keep the LED illuminated, if it dies the LED will be extinguished automatically.”h]”h¸)”}”(hŒ´Use of LED by user space app as a kind of watchdog indicator -- as long as the app is alive, it can keep the LED illuminated, if it dies the LED will be extinguished automatically.”h]”hŒ´Use of LED by user space app as a kind of watchdog indicator -- as long as the app is alive, it can keep the LED illuminated, if it dies the LED will be extinguished automatically.”…””}”(hjChžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khj?ubah}”(h]”h ]”h"]”h$]”h&]”uh1j¸hj%ubj¹)”}”(hŒ=Use by any user space app that needs a transient GPIO output.”h]”h¸)”}”(hjYh]”hŒ=Use by any user space app that needs a transient GPIO output.”…””}”(hj[hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K hjWubah}”(h]”h ]”h"]”h$]”h&]”uh1j¸hj%ubeh}”(h]”h ]”h"]”h$]”h&]”jHjIuh1j³hŸh¶h Kœhj!ubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhŸh¶h KœhjÊhžhubeh}”(h]”Œexamples”ah ]”h"]”Œexamples”ah$]”h&]”uh1h¡hh£hžhhŸh¶h KŒubeh}”(h]”Œled-transient-trigger”ah ]”h"]”Œled transient trigger”ah$]”h&]”uh1h¡hhhžhhŸh¶h Kubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”h¶uh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)”}”(h¦NŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”j.Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”j¬Œerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”h¶Œ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”Œnameids”}”(j‡j„jÇjÄjj|uŒ nametypes”}”(j‡‰jljj‰uh}”(j„h£jÄjj|jÊuŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”Œtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nhžhub.