| /bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/soc/bl808/std/startup/m0/ |
| A D | interrupt.c | 121 unsigned long cause; in exception_entry() local 127 cause = READ_CSR(CSR_MCAUSE); in exception_entry() 128 printf("mcause=%08x\r\n", (int)cause); in exception_entry() 134 cause = (cause & 0x3ff); in exception_entry() 156 printf("%s\r\n", mcause_str[cause & 0xf]); in exception_entry() 158 if ((cause == 8) || (cause == 11)) { in exception_entry()
|
| /bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/soc/bl616/std/startup/ |
| A D | interrupt.c | 120 unsigned long cause; in exception_entry() local 126 cause = READ_CSR(CSR_MCAUSE); in exception_entry() 127 printf("mcause=%08x\r\n", (int)cause); in exception_entry() 133 cause = (cause & 0x3ff); in exception_entry() 155 printf("%s\r\n", mcause_str[cause & 0xf]); in exception_entry() 157 if ((cause == 8) || (cause == 11)) { in exception_entry()
|
| /bsp/hpmicro/libraries/hpm_sdk/soc/HPM6700/HPM6750/ |
| A D | hpm_bpor_drv.h | 65 static inline void bpor_enable_power_on_cause(BPOR_Type *ptr, bpor_power_on_cause_t cause) in bpor_enable_power_on_cause() argument 67 ptr->POR_SELECT |= cause; in bpor_enable_power_on_cause() 76 static inline void bpor_disable_power_on_cause(BPOR_Type *ptr, bpor_power_on_cause_t cause) in bpor_disable_power_on_cause() argument 78 ptr->POR_SELECT &= ~cause; in bpor_disable_power_on_cause() 87 static inline void bpor_set_power_on_cause(BPOR_Type *ptr, uint8_t cause) in bpor_set_power_on_cause() argument 89 ptr->POR_SELECT = (ptr->POR_SELECT & ~BPOR_POR_SELECT_SELECT_MASK) | cause; in bpor_set_power_on_cause()
|
| /bsp/hpmicro/libraries/hpm_sdk/soc/HPM6200/HPM6280/ |
| A D | hpm_bpor_drv.h | 65 static inline void bpor_enable_power_on_cause(BPOR_Type *ptr, bpor_power_on_cause_t cause) in bpor_enable_power_on_cause() argument 67 ptr->POR_SELECT |= cause; in bpor_enable_power_on_cause() 76 static inline void bpor_disable_power_on_cause(BPOR_Type *ptr, bpor_power_on_cause_t cause) in bpor_disable_power_on_cause() argument 78 ptr->POR_SELECT &= ~cause; in bpor_disable_power_on_cause() 87 static inline void bpor_set_power_on_cause(BPOR_Type *ptr, uint8_t cause) in bpor_set_power_on_cause() argument 89 ptr->POR_SELECT = (ptr->POR_SELECT & ~BPOR_POR_SELECT_SELECT_MASK) | cause; in bpor_set_power_on_cause()
|
| /bsp/hpmicro/libraries/hpm_sdk/soc/HPM6300/HPM6360/ |
| A D | hpm_bpor_drv.h | 65 static inline void bpor_enable_power_on_cause(BPOR_Type *ptr, bpor_power_on_cause_t cause) in bpor_enable_power_on_cause() argument 67 ptr->POR_SELECT |= cause; in bpor_enable_power_on_cause() 76 static inline void bpor_disable_power_on_cause(BPOR_Type *ptr, bpor_power_on_cause_t cause) in bpor_disable_power_on_cause() argument 78 ptr->POR_SELECT &= ~cause; in bpor_disable_power_on_cause() 87 static inline void bpor_set_power_on_cause(BPOR_Type *ptr, uint8_t cause) in bpor_set_power_on_cause() argument 89 ptr->POR_SELECT = (ptr->POR_SELECT & ~BPOR_POR_SELECT_SELECT_MASK) | cause; in bpor_set_power_on_cause()
|
| /bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/soc/bl808/std/startup/d0/ |
| A D | interrupt.c | 10 typedef uintptr_t (*exception_handler)(uintptr_t cause, uintptr_t val, uintptr_t *regs); 16 static uintptr_t exception_handler_default(uintptr_t cause, uintptr_t val, uintptr_t *regs) __attri… 17 static uintptr_t exception_handler_default(uintptr_t cause, uintptr_t val, uintptr_t *regs) in exception_handler_default() argument 25 …printf("mcause: %d, mtval = 0x%16llx, mepc = 0x%16llx\n\r\n\r", (cause & 0xf), val, regs[REG_EPC_N… in exception_handler_default() 45 if ((cause & 0xf)) in exception_handler_default() 46 printf("%s\r\n\r\n", mcause_str[cause & 0xf]); in exception_handler_default() 76 static uintptr_t exception_handler_ECALL_M(uintptr_t cause, uintptr_t val, uintptr_t *regs) in exception_handler_ECALL_M() argument 116 uintptr_t *trap_c(uintptr_t cause, uintptr_t *regs) in trap_c() argument 123 vec = cause & 0x3FF; in trap_c() 126 exception_handlers[vec](cause, tval, regs); in trap_c()
|
| /bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/soc/bl602/std/startup/ |
| A D | interrupt.c | 117 unsigned long cause; in exception_entry() local 123 cause = READ_CSR(CSR_MCAUSE); in exception_entry() 124 printf("mcause=%08x\r\n", (int)cause); in exception_entry() 130 cause = (cause & 0x3ff); in exception_entry() 152 printf("%s\r\n", mcause_str[cause & 0xf]); in exception_entry() 154 if ((cause == 8) || (cause == 11)) { in exception_entry()
|
| /bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/soc/bl702/std/startup/ |
| A D | interrupt.c | 117 unsigned long cause; in exception_entry() local 123 cause = READ_CSR(CSR_MCAUSE); in exception_entry() 124 printf("mcause=%08x\r\n", (int)cause); in exception_entry() 130 cause = (cause & 0x3ff); in exception_entry() 152 printf("%s\r\n", mcause_str[cause & 0xf]); in exception_entry() 154 if ((cause == 8) || (cause == 11)) { in exception_entry()
|
| /bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/soc/bl808/std/startup/lp/ |
| A D | interrupt.c | 120 unsigned long cause; in exception_entry() local 126 cause = READ_CSR(CSR_MCAUSE); in exception_entry() 127 printf("mcause=%08x\r\n", (int)cause); in exception_entry() 133 cause = (cause & 0x3ff); in exception_entry() 154 printf("%s\r\n", mcause_str[cause & 0xf]); in exception_entry() 178 if ((cause == 8) || (cause == 11)) { in exception_entry()
|
| /bsp/hpmicro/libraries/hpm_sdk/soc/HPM6800/HPM6880/toolchains/ |
| A D | trap.c | 60 __attribute__((weak)) long exception_handler(long cause, long epc) in exception_handler() argument 62 switch (cause) { in exception_handler() 98 __attribute__((weak)) long exception_s_handler(long cause, long epc) in exception_s_handler() argument 100 (void) cause; in exception_s_handler()
|
| /bsp/hpmicro/libraries/hpm_sdk/soc/HPM6E00/HPM6E80/toolchains/ |
| A D | trap.c | 60 __attribute__((weak)) long exception_handler(long cause, long epc) in exception_handler() argument 62 switch (cause) { in exception_handler() 98 __attribute__((weak)) long exception_s_handler(long cause, long epc) in exception_s_handler() argument 100 (void) cause; in exception_s_handler()
|
| /bsp/hpmicro/hpm6300evk/startup/HPM6360/ |
| A D | trap.c | 85 uint32_t exception_handler(uint32_t cause, uint32_t epc) in exception_handler() argument 95 switch (cause) in exception_handler() 205 RT_EXCEPTION_TRACE("Unknown exception happened, cause=%d\n", cause); in exception_handler() 209 rt_kprintf("cause=0x%08x, epc=0x%08x, ra=0x%08x\n", cause, epc, s_stack_frame->ra); in exception_handler()
|
| /bsp/hpmicro/hpm6750evk/startup/HPM6750/ |
| A D | trap.c | 85 uint32_t exception_handler(uint32_t cause, uint32_t epc) in exception_handler() argument 95 switch (cause) in exception_handler() 205 RT_EXCEPTION_TRACE("Unknown exception happened, cause=%d\n", cause); in exception_handler() 209 rt_kprintf("cause=0x%08x, epc=0x%08x, ra=0x%08x\n", cause, epc, s_stack_frame->ra); in exception_handler()
|
| /bsp/hpmicro/hpm6e00evk/startup/HPM6E80/ |
| A D | trap.c | 85 uint32_t exception_handler(uint32_t cause, uint32_t epc) in exception_handler() argument 95 switch (cause) in exception_handler() 205 RT_EXCEPTION_TRACE("Unknown exception happened, cause=%d\n", cause); in exception_handler() 209 rt_kprintf("cause=0x%08x, epc=0x%08x, ra=0x%08x\n", cause, epc, s_stack_frame->ra); in exception_handler()
|
| /bsp/hpmicro/libraries/hpm_sdk/soc/HPM6200/HPM6280/toolchains/ |
| A D | trap.c | 60 __attribute__((weak)) long exception_handler(long cause, long epc) in exception_handler() argument 62 switch (cause) { in exception_handler() 98 __attribute__((weak)) long exception_s_handler(long cause, long epc) in exception_s_handler() argument 100 (void) cause; in exception_s_handler()
|
| /bsp/hpmicro/hpm5300evk/startup/HPM5361/ |
| A D | trap.c | 85 uint32_t exception_handler(uint32_t cause, uint32_t epc) in exception_handler() argument 95 switch (cause) in exception_handler() 205 RT_EXCEPTION_TRACE("Unknown exception happened, cause=%d\n", cause); in exception_handler() 209 rt_kprintf("cause=0x%08x, epc=0x%08x, ra=0x%08x\n", cause, epc, s_stack_frame->ra); in exception_handler()
|
| /bsp/hpmicro/hpm5301evklite/startup/HPM5301/ |
| A D | trap.c | 85 uint32_t exception_handler(uint32_t cause, uint32_t epc) in exception_handler() argument 95 switch (cause) in exception_handler() 205 RT_EXCEPTION_TRACE("Unknown exception happened, cause=%d\n", cause); in exception_handler() 209 rt_kprintf("cause=0x%08x, epc=0x%08x, ra=0x%08x\n", cause, epc, s_stack_frame->ra); in exception_handler()
|
| /bsp/hpmicro/hpm6200evk/startup/HPM6280/ |
| A D | trap.c | 85 uint32_t exception_handler(uint32_t cause, uint32_t epc) in exception_handler() argument 95 switch (cause) in exception_handler() 205 RT_EXCEPTION_TRACE("Unknown exception happened, cause=%d\n", cause); in exception_handler() 209 rt_kprintf("cause=0x%08x, epc=0x%08x, ra=0x%08x\n", cause, epc, s_stack_frame->ra); in exception_handler()
|
| /bsp/hpmicro/hpm6750evk2/startup/HPM6750/ |
| A D | trap.c | 85 uint32_t exception_handler(uint32_t cause, uint32_t epc) in exception_handler() argument 95 switch (cause) in exception_handler() 205 RT_EXCEPTION_TRACE("Unknown exception happened, cause=%d\n", cause); in exception_handler() 209 rt_kprintf("cause=0x%08x, epc=0x%08x, ra=0x%08x\n", cause, epc, s_stack_frame->ra); in exception_handler()
|
| /bsp/hpmicro/hpm6750evkmini/startup/HPM6750/ |
| A D | trap.c | 85 uint32_t exception_handler(uint32_t cause, uint32_t epc) in exception_handler() argument 95 switch (cause) in exception_handler() 205 RT_EXCEPTION_TRACE("Unknown exception happened, cause=%d\n", cause); in exception_handler() 209 rt_kprintf("cause=0x%08x, epc=0x%08x, ra=0x%08x\n", cause, epc, s_stack_frame->ra); in exception_handler()
|
| /bsp/hpmicro/hpm6800evk/startup/HPM6880/ |
| A D | trap.c | 85 uint32_t exception_handler(uint32_t cause, uint32_t epc) in exception_handler() argument 95 switch (cause) in exception_handler() 205 RT_EXCEPTION_TRACE("Unknown exception happened, cause=%d\n", cause); in exception_handler() 209 rt_kprintf("cause=0x%08x, epc=0x%08x, ra=0x%08x\n", cause, epc, s_stack_frame->ra); in exception_handler()
|
| /bsp/hpmicro/libraries/hpm_sdk/soc/HPM6300/HPM6360/toolchains/ |
| A D | trap.c | 60 __attribute__((weak)) long exception_handler(long cause, long epc) in exception_handler() argument 62 switch (cause) { in exception_handler() 98 __attribute__((weak)) long exception_s_handler(long cause, long epc) in exception_s_handler() argument 100 (void) cause; in exception_s_handler()
|
| /bsp/hpmicro/libraries/hpm_sdk/soc/HPM6700/HPM6750/toolchains/ |
| A D | trap.c | 62 __attribute__((weak)) long exception_handler(long cause, long epc) in exception_handler() argument 64 switch (cause) { in exception_handler()
|
| /bsp/hpmicro/libraries/hpm_sdk/soc/HPM5300/HPM5301/toolchains/ |
| A D | trap.c | 60 __attribute__((weak)) long exception_handler(long cause, long epc) in exception_handler() argument 62 switch (cause) { in exception_handler()
|
| /bsp/hpmicro/libraries/hpm_sdk/soc/HPM5300/HPM5361/toolchains/ |
| A D | trap.c | 60 __attribute__((weak)) long exception_handler(long cause, long epc) in exception_handler() argument 62 switch (cause) { in exception_handler()
|