macro_rules! attached_regs_to_mem_ap {
($mod_name:ident => $name:ident) => { ... };
}
Expand description
Implements all default registers of a memory AP to the given type.
Invoke in the form attached_regs_to_mem_ap!(mod_name => ApName)
where:
mod_name
is a module name in which the impl an the required use will be expanded to.ApName
a type name that must be available in the current scope to which the registers will be attached.