Struct prusst::Intc [] [src]

pub struct Intc { /* fields omitted */ }

The PRU interrupt controller.

Methods

impl Intc
[src]

[src]

Maps PRU interrupts according to the provided configuration.

[src]

Triggers a system event.

[src]

Clears a system event.

[src]

Enables a system event.

[src]

Disables a system event.

[src]

Enables or re-enables a host interrupt.

Beware: calling this function before the triggering system event was cleared will trigger the host interrupt again.

[src]

Disables a host interrupt.

[src]

Returns a synchronization primitive for event out host interrupts.

Important: this function should be called before any corresponding event out is triggered.

Panics

This function should not panic provided that the uio_pruss kernel module is loaded, which is theoretically guaranteed at this point since Pruss could not have been created otherwise.