Home
last modified time | relevance | path

Searched refs:RP (Results 1 – 7 of 7) sorted by relevance

/libcpu/arm/sep4020/
A Dinterrupt.c45 *(RP)(INTC_IMR) = 0xFFFFFFFF; in rt_hw_interrupt_init()
48 *(RP)(INTC_IER) = 0XFFFFFFFF; in rt_hw_interrupt_init()
51 *(RP)(INTC_IFR) = 0x0; in rt_hw_interrupt_init()
54 *(RP)(INTC_FIER) = 0x0; in rt_hw_interrupt_init()
57 *(RP)(INTC_FIMR) = 0x0F; in rt_hw_interrupt_init()
60 *(RP)(INTC_FIFR) = 0x0; in rt_hw_interrupt_init()
63 *(RP)(INTC_IPLR) = 0x0; in rt_hw_interrupt_init()
85 *(RP)(INTC_IMR) |= 1 << vector; in rt_hw_interrupt_mask()
99 *(RP)(INTC_IMR) &= ~(1 << vector); in rt_hw_interrupt_umask()
A Dclk.c41 *(RP)PMU_PMDR = 0x01; in rt_hw_set_system_clock()
43 *(RP)PMU_PMCR = 0x4000 | pv; in rt_hw_set_system_clock()
45 *(RP)PMU_PMCR = 0xc000 | pv; in rt_hw_set_system_clock()
51 *(RP)PMU_PUCR = 0x000c; in rt_hw_set_usb_clock()
53 *(RP)PMU_PMCR = 0x800c; in rt_hw_set_usb_clock()
77 val =*(RP) PMU_PMCR; in rt_hw_get_clock()
A Dcpu.c159 *(RP)(RTC_CTR) = 0x02; in cp15_rd()
162 *(RP)(RTC_INT_EN) = 0x20; in cp15_rd()
165 *(RP)(RTC_WD_CNT) = 0x0001; in cp15_rd()
A Dsep4020.h753 #define enable_irq(intnum) *(RP)INTC_IER |= (1 << intnum) //置1后,允许中断源的IRQ 中断…
754 #define disable_irq( intnum) *(RP)INTC_IER &= ~(1<< intnum) //置0后,不允许中断源的IRQ 中…
755 #define mask_irq(intnum) *(RP)INTC_IMR |= (1 << intnum) //置1后,屏蔽对应的IRQ 中断信号
756 #define unmask_irq(intnum) *(RP)INTC_IMR &= ~(1 << intnum) //置0后,通过对应的IRQ 中断信号
757 #define mask_all_irq() *(RP)INTC_IMR = 0xFFFFFFFF //屏蔽对应的IRQ 中断信号
758 #define unmask_all_irq() *(RP)INTC_IMR = 0x00000000 //通过对应的IRQ 中断信号
759 #define enable_all_irq() *(RP)INTC_IER = 0XFFFFFFFF //允许中断源的IRQ 中断信号
760 #define disable_all_irq() *(RP)INTC_IER = 0X00000000 //不允许中断源的IRQ 中断信号
776 typedef volatile U32 * RP; typedef
844 *(RP)(reg) = value; \
[all …]
A Dtrap.c141 intstat = *(RP)(INTC_IFSR);; in rt_hw_trap_irq()
/libcpu/unicore32/sep6200/
A Dsep6200.h342 typedef volatile U32 * RP; typedef
410 *(RP)(reg) = value; \
413 #define read_reg(reg) (*(RP)reg)
A Dtrap.c141 irq = *(RP)(SEP6200_VIC_IRQ_VECTOR_NUM); in rt_hw_trap_irq()

Completed in 12 milliseconds