domain_release

Function domain_release 

Source
pub fn domain_release(domain: Domain) -> Result<()>
Expand description

Decrement the reference count for a peripheral power domain.

When the count reaches zero, the domain hardware is powered off.

ยงErrors

Returns Error::InvalidParam on underflow.