Skip to main content
← PSoXide SDK guides and examples · SDK 80d1c329e977 · All Cargo features enabled; check feature gates before use.

lease

Function lease 

Source
pub fn lease() -> Lease
Expand description

Borrow the port. Waits for a transaction in flight (under two milliseconds on the wire); if the engine has not gone idle after a few VBlanks it abandons the transaction instead of waiting longer. A caller with CPU interrupts off cannot let the transaction finish, so it waits a fixed number of attempts instead and then takes the port.