Skip to main content

PrimaryOutput

Trait PrimaryOutput 

Source
pub trait PrimaryOutput: Instance {
    // Required method
    fn set_poen(&mut self, on: bool);
}
Expand description

The output switch shared by every channel of a timer that has one.

Only the timers carrying a CCHP register implement this: TIMER0, TIMER15, TIMER16, and TIMER14 where the part has it. It sits above the per-channel enables — with it off, the channels stay configured and the counter keeps running while the pins show nothing.

Required Methods§

Source

fn set_poen(&mut self, on: bool)

Enables or disables the outputs of all channels at once.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl PrimaryOutput for Timer0

Source§

fn set_poen(&mut self, on: bool)

Source§

impl PrimaryOutput for Timer14

Source§

fn set_poen(&mut self, on: bool)

Source§

impl PrimaryOutput for Timer15

Source§

fn set_poen(&mut self, on: bool)

Source§

impl PrimaryOutput for Timer16

Source§

fn set_poen(&mut self, on: bool)

Implementors§