Include
ao_ir.h |
xc.h |
Functions
ao_boot_ir_cs0
#define ao_boot_ir_cs0() \
{ \
IPC0bits.CS0IP = (AO_IR_CS0_PRIO); \
IPC0bits.CS0IS = (AO_IR_CS0_SUBPRIO); \
}
Sets up both priority and subpriority of the core software interrupt 0.
ao_boot_ir_cs1
#define ao_boot_ir_cs1() \
{ \
IPC0bits.CS1IP = (AO_IR_CS1_PRIO); \
IPC0bits.CS1IS = (AO_IR_CS1_SUBPRIO); \
}
Sets up both priority and subpriority of the core software interrupt 1.
ao_boot_ir_ct
#define ao_boot_ir_ct() \
{ \
IPC0bits.CTIP = (AO_IR_CT_PRIO); \
IPC0bits.CTIS = (AO_IR_CT_SUBPRIO); \
}
Sets up both priority and subpriority of the core timer interrupt.
ao_boot_ir_int0
#define ao_boot_ir_int0() \
{ \
IPC0bits.INT0IP = (AO_IR_INT0_PRIO); \
IPC0bits.INT0IS = (AO_IR_INT0_SUBPRIO); \
}
Sets up both priority and subpriority of the external interrupt 0.
ao_boot_ir_int1
#define ao_boot_ir_int1() \
{ \
IPC1bits.INT1IP = (AO_IR_INT1_PRIO); \
IPC1bits.INT1IS = (AO_IR_INT1_SUBPRIO); \
}
Sets up both priority and subpriority of the external interrupt 1.
ao_boot_ir_int2
#define ao_boot_ir_int2() \
{ \
IPC2bits.INT2IP = (AO_IR_INT2_PRIO); \
IPC2bits.INT2IS = (AO_IR_INT2_SUBPRIO); \
}
Sets up both priority and subpriority of the external interrupt 2.
ao_boot_ir_int3
#define ao_boot_ir_int3() \
{ \
IPC3bits.INT3IP = (AO_IR_INT3_PRIO); \
IPC3bits.INT3IS = (AO_IR_INT3_SUBPRIO); \
}
Sets up both priority and subpriority of the external interrupt 3.
ao_boot_ir_int4
#define ao_boot_ir_int4() \
{ \
IPC4bits.INT4IP = (AO_IR_INT4_PRIO); \
IPC4bits.INT4IS = (AO_IR_INT4_SUBPRIO); \
}
Sets up both priority and subpriority of the external interrupt 4.
ao_boot_ir_u1
#define ao_boot_ir_u1() \
{ \
IPC6bits.U1IP = (AO_IR_U1_PRIO); \
IPC6bits.U1IS = (AO_IR_U1_SUBPRIO); \
}
Sets up both priority and subpriority of the UART 1 interrupt.
ao_boot_ir_u2
#define ao_boot_ir_u2() \
{ \
IPC8bits.U2IP = (AO_IR_U2_PRIO); \
IPC8bits.U2IS = (AO_IR_U2_SUBPRIO); \
}
Sets up both priority and subpriority of the UART 2 interrupt.
ao_boot_sys_pcache
void ao_boot_sys_pcache();
Sets up the prefetch cache.
Include Next
ao_boot.h |