0.3.1
|
Macros | |
#define | cpu_divu_ovfi_clear() |
Clear the interrupt handler for the CPU-DIVU OVFI interrupt. | |
#define | cpu_dual_master_clear() |
Clear the master CPU entry handler. | |
#define | cpu_dual_slave_clear() |
Clear the slave CPU entry handler. | |
#define | cpu_frt_oca_clear() |
Clear the interrupt handler for the CPU-FRT OCA interrupt. | |
#define | cpu_frt_ocb_clear() |
Clear the interrupt handler for the CPU-FRT OCB interrupt. | |
#define | cpu_frt_ovi_clear() |
Clear the interrupt handler for the CPU-FRT OVI interrupt. | |
#define | cpu_wdt_timer_mode_clear(mode) |
Clear the interrupt handler for the CPU-WDT timer mode interrupt. | |
Functions | |
static void | scu_dma_illegal_set (scu_dma_ihr_t ihr) |
Set the interrupt handler for the SCU-DMA illegal interrupt. | |
static void | scu_dma_illegal_clear (void) |
Clear the interrupt handler for the SCU-DMA illegal interrupt. | |
void | cpu_divu_ovfi_set (cpu_divu_ihr_t ihr) |
Set the interrupt handler for the CPU-DIVU OVFI interrupt. | |
void | cpu_dual_master_set (cpu_dual_master_entry_t entry) |
Set the entry handler for the master CPU. | |
void | cpu_dual_slave_set (cpu_dual_slave_entry_t entry) |
Set the entry handler for the slave CPU. | |
void | cpu_frt_oca_set (uint16_t count, cpu_frt_ihr_t ihr) |
Set the interrupt handler for the CPU-FRT OCA interrupt. | |
void | cpu_frt_ocb_set (uint16_t count, cpu_frt_ihr_t ihr) |
Set the interrupt handler for the CPU-FRT OCB interrupt. | |
void | cpu_frt_ovi_set (cpu_frt_ihr_t ihr) |
Set the interrupt handler for the CPU-FRT OVI interrupt. | |
void | cpu_wdt_timer_mode_set (cpu_wdt_mode_t mode, cpu_wdt_ihr_t ihr) |
Set the CPU-WDT mode. | |
Variables | |
cpu_dmac_ihr_t | cpu_dmac_cfg::ihr |
Callback when transfer is completed. | |
void * | cpu_dmac_cfg::ihr_work |
Pointer to any work passed onto cpu_dmac_cfg::ihr. | |
cpu_sci_ihr | cpu_sci_cfg::ihr_eri |
Callback when receive error is encountered. | |
cpu_sci_ihr | cpu_sci_cfg::ihr_rxi |
Callback when new serial data is received in receive data register. | |
cpu_sci_ihr | cpu_sci_cfg::ihr_txi |
Callback when transmit data register content is dispatched for transfer. | |
cpu_sci_ihr | cpu_sci_cfg::ihr_tei |
Callback when transmit data register content is sent. | |
Description goes here.
These functions set the interrupt handler for their respective CPU-INTC interrupt.
#define cpu_divu_ovfi_clear | ( | ) |
Clear the interrupt handler for the CPU-DIVU OVFI interrupt.
#define cpu_dual_master_clear | ( | ) |
Clear the master CPU entry handler.
#define cpu_dual_slave_clear | ( | ) |
Clear the slave CPU entry handler.
#define cpu_frt_oca_clear | ( | ) |
Clear the interrupt handler for the CPU-FRT OCA interrupt.
#define cpu_frt_ocb_clear | ( | ) |
Clear the interrupt handler for the CPU-FRT OCB interrupt.
#define cpu_frt_ovi_clear | ( | ) |
Clear the interrupt handler for the CPU-FRT OVI interrupt.
#define cpu_wdt_timer_mode_clear | ( | mode | ) |
Clear the interrupt handler for the CPU-WDT timer mode interrupt.
mode | The mode. |
|
inlinestatic |
Set the interrupt handler for the SCU-DMA illegal interrupt.
There is no need to explicitly return via rte
for ihr
.
ihr | The interrupt handler. |
|
inlinestatic |
Clear the interrupt handler for the SCU-DMA illegal interrupt.
void cpu_divu_ovfi_set | ( | cpu_divu_ihr_t | ihr | ) |
Set the interrupt handler for the CPU-DIVU OVFI interrupt.
There is no need to explicitly return via rte
for ihr
.
ihr | The interrupt handler. |
void cpu_dual_master_set | ( | cpu_dual_master_entry_t | entry | ) |
Set the entry handler for the master CPU.
When the master CPU calls cpu_dual_master_notify, entry
will be invoked. The entry
handler can be NULL
entry | The entry handler. |
void cpu_dual_slave_set | ( | cpu_dual_slave_entry_t | entry | ) |
Set the entry handler for the slave CPU.
When the master CPU calls cpu_dual_slave_notify, entry
will be invoked. The entry
handler can be NULL
entry | The entry handler. |
void cpu_frt_oca_set | ( | uint16_t | count, |
cpu_frt_ihr_t | ihr | ||
) |
Set the interrupt handler for the CPU-FRT OCA interrupt.
There is no need to explicitly return via rte
for ihr
.
count | The tick count to trigger OCA on. |
ihr | The interrupt handler. |
void cpu_frt_ocb_set | ( | uint16_t | count, |
cpu_frt_ihr_t | ihr | ||
) |
Set the interrupt handler for the CPU-FRT OCB interrupt.
There is no need to explicitly return via rte
for ihr
.
count | The tick count to trigger OCB on. |
ihr | The interrupt handler. |
void cpu_frt_ovi_set | ( | cpu_frt_ihr_t | ihr | ) |
Set the interrupt handler for the CPU-FRT OVI interrupt.
There is no need to explicitly return via rte
for ihr
.
ihr | The interrupt handler. |
void cpu_wdt_timer_mode_set | ( | cpu_wdt_mode_t | mode, |
cpu_wdt_ihr_t | ihr | ||
) |
Set the CPU-WDT mode.
mode | The mode. |
ihr | The interrupt handler. |
cpu_dmac_ihr_t cpu_dmac_cfg::ihr |
Callback when transfer is completed.
Set to NULL
if no callback is desired.
void* cpu_dmac_cfg::ihr_work |
Pointer to any work passed onto cpu_dmac_cfg::ihr.
If cpu_dmac_cfg::ihr is NULL
, cpu_dmac_cfg::ihr_work is ignored.
cpu_sci_ihr cpu_sci_cfg::ihr_eri |
Callback when receive error is encountered.
Set to NULL
if no callback is desired.
cpu_sci_ihr cpu_sci_cfg::ihr_rxi |
Callback when new serial data is received in receive data register.
Set to NULL
if no callback is desired.
cpu_sci_ihr cpu_sci_cfg::ihr_txi |
Callback when transmit data register content is dispatched for transfer.
Set to NULL
if no callback is desired.
cpu_sci_ihr cpu_sci_cfg::ihr_tei |
Callback when transmit data register content is sent.
Set to NULL
if no callback is desired.