pub struct CountDownTimer<TIMER> { /* private fields */ }

Implementations

Starts listening for an event

Stops listening for an event

Resets the counter

Returns the number of microseconds since the last update event. NOTE: This method is not a very good candidate to keep track of time, because it is very easy to lose an update event.

Stops the timer

Releases the SYST

Starts listening for an event.

Stops listening for an event.

Stops the timer

Returns true if the given event interrupt is pending.

Clears the given event interrupt flag.

Releases the TIMER peripheral.

Returns the number of microseconds since the last update event. NOTE: This method is not a very good candidate to keep track of time, because it is very easy to lose an update event.

Resets the counter

Starts listening for an event.

Stops listening for an event.

Stops the timer

Returns true if the given event interrupt is pending.

Clears the given event interrupt flag.

Releases the TIMER peripheral.

Returns the number of microseconds since the last update event. NOTE: This method is not a very good candidate to keep track of time, because it is very easy to lose an update event.

Resets the counter

Starts listening for an event.

Stops listening for an event.

Stops the timer

Returns true if the given event interrupt is pending.

Clears the given event interrupt flag.

Releases the TIMER peripheral.

Returns the number of microseconds since the last update event. NOTE: This method is not a very good candidate to keep track of time, because it is very easy to lose an update event.

Resets the counter

Starts listening for an event.

Stops listening for an event.

Stops the timer

Returns true if the given event interrupt is pending.

Clears the given event interrupt flag.

Releases the TIMER peripheral.

Returns the number of microseconds since the last update event. NOTE: This method is not a very good candidate to keep track of time, because it is very easy to lose an update event.

Resets the counter

Starts listening for an event.

Stops listening for an event.

Stops the timer

Returns true if the given event interrupt is pending.

Clears the given event interrupt flag.

Releases the TIMER peripheral.

Returns the number of microseconds since the last update event. NOTE: This method is not a very good candidate to keep track of time, because it is very easy to lose an update event.

Resets the counter

Starts listening for an event.

Stops listening for an event.

Stops the timer

Returns true if the given event interrupt is pending.

Clears the given event interrupt flag.

Releases the TIMER peripheral.

Returns the number of microseconds since the last update event. NOTE: This method is not a very good candidate to keep track of time, because it is very easy to lose an update event.

Resets the counter

Starts listening for an event.

Stops listening for an event.

Stops the timer

Returns true if the given event interrupt is pending.

Clears the given event interrupt flag.

Releases the TIMER peripheral.

Returns the number of microseconds since the last update event. NOTE: This method is not a very good candidate to keep track of time, because it is very easy to lose an update event.

Resets the counter

Starts listening for an event.

Stops listening for an event.

Stops the timer

Returns true if the given event interrupt is pending.

Clears the given event interrupt flag.

Releases the TIMER peripheral.

Returns the number of microseconds since the last update event. NOTE: This method is not a very good candidate to keep track of time, because it is very easy to lose an update event.

Resets the counter

Trait Implementations

Error returned when a countdown can’t be canceled.

Tries to cancel this countdown. Read more

Error returned when a countdown can’t be canceled.

Tries to cancel this countdown. Read more

Error returned when a countdown can’t be canceled.

Tries to cancel this countdown. Read more

Error returned when a countdown can’t be canceled.

Tries to cancel this countdown. Read more

Error returned when a countdown can’t be canceled.

Tries to cancel this countdown. Read more

Error returned when a countdown can’t be canceled.

Tries to cancel this countdown. Read more

Error returned when a countdown can’t be canceled.

Tries to cancel this countdown. Read more

Error returned when a countdown can’t be canceled.

Tries to cancel this countdown. Read more

Error returned when a countdown can’t be canceled.

Tries to cancel this countdown. Read more

The unit of time used by this timer

Starts a new count down

Non-blockingly “waits” until the count down finishes Read more

The unit of time used by this timer

Starts a new count down

Non-blockingly “waits” until the count down finishes Read more

The unit of time used by this timer

Starts a new count down

Non-blockingly “waits” until the count down finishes Read more

The unit of time used by this timer

Starts a new count down

Non-blockingly “waits” until the count down finishes Read more

The unit of time used by this timer

Starts a new count down

Non-blockingly “waits” until the count down finishes Read more

The unit of time used by this timer

Starts a new count down

Non-blockingly “waits” until the count down finishes Read more

The unit of time used by this timer

Starts a new count down

Non-blockingly “waits” until the count down finishes Read more

The unit of time used by this timer

Starts a new count down

Non-blockingly “waits” until the count down finishes Read more

The unit of time used by this timer

Starts a new count down

Non-blockingly “waits” until the count down finishes Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.