struct ArmInterruptOptions [src]
Options for the arm_interrupt calling convention.
Fields
incoming_stack_alignment: ?u64 = nullThe boundary the stack is aligned to when the function is called.
null means the default for this calling convention.
type: InterruptType = .genericThe kind of interrupt being received.
Members
- InterruptType (enum)
Source
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,
};
}