Struct lpc82x_hal::syscon::Handle[][src]

pub struct Handle<'syscon> { /* fields omitted */ }

Handle to the SYSCON peripheral

This handle to the SYSCON peripheral provides access to the main part of the SYSCON API. It is also required by other parts of the HAL API to synchronize access the the underlying registers, wherever this is required.

Please refer to the module documentation for more information about the PMU.

Methods

impl<'r> Handle<'r>
[src]

Enable peripheral clock

Enables the clock for a peripheral or other hardware component. HAL users usually won't have to call this method directly, as other peripheral APIs will do this for them.

Disable peripheral clock

Assert peripheral reset

Clear peripheral reset

Clears the reset for a peripheral or other hardware component. HAL users usually won't have to call this method directly, as other peripheral APIs will do this for them.

Provide power to an analog block

HAL users usually won't have to call this method themselves, as other peripheral APIs will do this for them.

Remove power from an analog block

Enable interrupt wake-up from deep-sleep and power-down modes

To use an interrupt for waking up the system from the deep-sleep and power-down modes, it needs to be enabled using this method, in addition to being enabled in the NVIC.

This method is not required when using the regular sleep mode.

Disable interrupt wake-up from deep-sleep and power-down modes

Auto Trait Implementations

impl<'syscon> !Send for Handle<'syscon>

impl<'syscon> !Sync for Handle<'syscon>