# [−] [src] Macro cortex_m_rt::entry

    macro_rules! entry {
        ($path:expr) => { ... };
    }

Macro to define the entry point of the program

NOTE This macro must be invoked once and must be invoked from an accessible module, ideally from the root of the crate.

Usage: `entry!(path::to::entry::point)`

The specified function will be called by the reset handler after RAM has been initialized. In the case of the `thumbv7em-none-eabihf` target the FPU will also be enabled before the function is called.

The signature of the specified function must be `fn() -> !` (never ending function)

# Help

## Keyboard Shortcuts

`?`
  Show this help dialog
`S`
  Focus the search field
`↑`
  Move up in search results
`↓`
  Move down in search results
`↹`
  Switch tab
`⏎`
  Go to active search result
`+`
  Expand all sections
`-`
  Collapse all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)

Search multiple things at once by splitting your query with comma (e.g. `str,u8` or `String,struct:Vec,test`)