Skip to main content

ec_query

Function ec_query 

Source
unsafe fn ec_query() -> Option<u8>
Expand description

Query the EC for a pending event. Returns the event byte (Query ID).

ยงSafety

The caller must ensure no concurrent EC access occurs without holding EC_LOCK.