Home
last modified time | relevance | path

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

/canopennode-2.7.6/stack/PIC24_dsPIC33/
DCO_driver.c144 uint16_t DMArxBaseAddress; in CO_CANmodule_init() local
160 DMArxBaseAddress = CO_CAN1_DMA0; in CO_CANmodule_init()
171 DMArxBaseAddress = CO_CAN2_DMA0; in CO_CANmodule_init()
316 DMA_REG(DMArxBaseAddress, DMA_CON) = 0x0020; in CO_CANmodule_init()
317 DMA_REG(DMArxBaseAddress, DMA_PAD) = (volatile uint16_t) &CAN_REG(CANdriverState, C_RXD); in CO_CANmodule_init()
318 DMA_REG(DMArxBaseAddress, DMA_CNT) = 7; in CO_CANmodule_init()
319 DMA_REG(DMArxBaseAddress, DMA_REQ) = (CANdriverState==ADDR_CAN1) ? 34 : 55; in CO_CANmodule_init()
322 DMA_REG(DMArxBaseAddress, DMA_STA) = CANmsgBuffDMAoffset; in CO_CANmodule_init()
324 DMA_REG(DMArxBaseAddress, DMA_STAL) = CANmsgBuffDMAoffset; in CO_CANmodule_init()
325 DMA_REG(DMArxBaseAddress, DMA_STAH) = CANmsgBuffDMApage; in CO_CANmodule_init()
[all …]