1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
//! The Vector Table types.

/// Pointer to a reset handler.
pub type ResetHandler = unsafe extern "C" fn() -> !;

/// Pointer to an exception handler.
pub type Handler = unsafe extern "C" fn();

/// Reserved pointer in a vector table.
#[derive(Clone, Copy)]
#[repr(usize)]
pub enum Reserved {
    /// The only allowed zero-value.
    Vector = 0,
}