Skip to content

Missing MonoTimer:new as pub fn  #55

Open
@vortex314

Description

@vortex314

While the function is created in https://github.com/rust-embedded-community/tm4c-hal/blob/master/tm4c123x-hal/src/time.rs
,the function is not exposed, so also Instant cannot be obtained.

92 |     let mut mono_timer  = MonoTimer::new(cp.DWT, clocks);
   |                                      ^^^
   |                                      |
   |                                      function or associated item not found in `MonoTimer`
   |                                      help: there is a method with a similar name: `now`

Complete code : https://github.com/vortex314/tiva-rs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions