Defines

CPU_DMAC_PRIORITY_MODE_FIXED

Not yet documented.

CPU_DMAC_PRIORITY_MODE_ROUND_ROBIN

Not yet documented.

CPU_DMAC_DESTINATION_FIXED

Not yet documented.

CPU_DMAC_DESTINATION_INCREMENT

Not yet documented.

CPU_DMAC_DESTINATION_DECREMENT

Not yet documented.

CPU_DMAC_SOURCE_FIXED

Not yet documented.

CPU_DMAC_SOURCE_INCREMENT

Not yet documented.

CPU_DMAC_SOURCE_DECREMENT

Not yet documented.

CPU_DMAC_STRIDE_1_BYTE

Not yet documented.

CPU_DMAC_STRIDE_2_BYTES

Not yet documented.

CPU_DMAC_STRIDE_4_BYTES

Not yet documented.

CPU_DMAC_STRIDE_16_BYTES

Not yet documented.

CPU_DMAC_BUS_MODE_CYCLE_STEAL

Not yet documented.

CPU_DMAC_BUS_MODE_BURST

Not yet documented.

Structures

struct cpu_dmac_cfg

Not yet documented.

Public Members

uint8_t channel

Not yet documented.

uint8_t src_mode

Not yet documented.

uint8_t dst_mode

Not yet documented.

uint8_t stride

Not yet documented.

uint8_t bus_mode

Not yet documented.

uint32_t src

Not yet documented.

uint32_t dst

Not yet documented.

uint32_t len

Not yet documented.

void (*ihr)(void)

Not yet documented.

struct dmac_status

Not yet documented.

Public Members

unsigned int enabled : 1

Not yet documented.

unsigned int priority_mode : 1

Not yet documented.

unsigned int channel_enabled : 2

Not yet documented.

unsigned int channel_busy : 2

Not yet documented.

unsigned int address_error : 1

Not yet documented.

unsigned int nmi_interrupt : 1

Not yet documented.

Inline functions

static void cpu_dmac_channel_transfer_set(uint8_t ch, uint32_t tcr_bits)

Not yet documented.

static void cpu_dmac_enable(void)

Not yet documented.

static void cpu_dmac_disable(void)

Not yet documented.

static void cpu_dmac_interrupt_priority_set(uint8_t priority)

Not yet documented.

static void cpu_dmac_priority_mode_set(uint8_t mode)

Not yet documented.

static void cpu_dmac_channel_start(uint8_t ch)

Not yet documented.

static void cpu_dmac_channel_stop(uint8_t ch)

Not yet documented.

static void cpu_dmac_stop(void)

Not yet documented.

Functions

void cpu_dmac_init(void)

Not yet documented.

void cpu_dmac_status_get(struct dmac_status *)

Not yet documented.

void cpu_dmac_channel_config_set(const struct cpu_dmac_cfg *)

Not yet documented.

void cpu_dmac_channel_wait(uint8_t)

Not yet documented.