You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. The doc for the set_channel_alarm function from the Counter API, states:
Set a single shot alarm on a channel. After expiration alarm can be set again, disabling is not needed.
The part that confuses me is "disabling is not needed". As I understand, this API is for single-shot alarms, and some GPT running in continuous mode may not stop generating interrupts if not disabled upon expiration (i.e. the alarm won't be single-shot). Shouldn't we disable the channel in that case?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello. The doc for the set_channel_alarm function from the Counter API, states:
The part that confuses me is "disabling is not needed". As I understand, this API is for single-shot alarms, and some GPT running in continuous mode may not stop generating interrupts if not disabled upon expiration (i.e. the alarm won't be single-shot). Shouldn't we disable the channel in that case?
Beta Was this translation helpful? Give feedback.
All reactions