structstd.builtin.CallingConvention.ArmInterruptOptions[src]

Options for the arm_interrupt calling convention.

Fields

incoming_stack_alignment: ?u64 = null

The boundary the stack is aligned to when the function is called. null means the default for this calling convention.

type: InterruptType = .generic

The kind of interrupt being received.

Source Code

Source code
pub const ArmInterruptOptions = struct {
    /// The boundary the stack is aligned to when the function is called.
    /// `null` means the default for this calling convention.
    incoming_stack_alignment: ?u64 = null,
    /// The kind of interrupt being received.
    type: InterruptType = .generic,

    pub const InterruptType = enum(u3) {
        generic,
        irq,
        fiq,
        swi,
        abort,
        undef,
    };
}