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.
 

Detailed Description

Description goes here.

These functions set the interrupt handler for their respective CPU-INTC interrupt.

Macro Definition Documentation

◆ cpu_divu_ovfi_clear

#define cpu_divu_ovfi_clear ( )
Value:
do { \
cpu_divu_ovfi_set(NULL); \
} while (false)

Clear the interrupt handler for the CPU-DIVU OVFI interrupt.

See also
cpu_divu_ovfi_set

◆ cpu_dual_master_clear

#define cpu_dual_master_clear ( )
Value:
do { \
cpu_dual_master_set(NULL); \
} while (false)

Clear the master CPU entry handler.

◆ cpu_dual_slave_clear

#define cpu_dual_slave_clear ( )
Value:
do { \
cpu_dual_slave_set(NULL); \
} while (false)

Clear the slave CPU entry handler.

◆ cpu_frt_oca_clear

#define cpu_frt_oca_clear ( )
Value:
do { \
cpu_frt_oca_set(0, NULL); \
} while (false)

Clear the interrupt handler for the CPU-FRT OCA interrupt.

See also
cpu_frt_oca_set

◆ cpu_frt_ocb_clear

#define cpu_frt_ocb_clear ( )
Value:
do { \
cpu_frt_ocb_set(0, NULL); \
} while (false)

Clear the interrupt handler for the CPU-FRT OCB interrupt.

See also
cpu_frt_ocb_set

◆ cpu_frt_ovi_clear

#define cpu_frt_ovi_clear ( )
Value:
do { \
cpu_frt_ovi_set(NULL); \
} while (false)

Clear the interrupt handler for the CPU-FRT OVI interrupt.

See also
cpu_frt_ovi_set

◆ cpu_wdt_timer_mode_clear

#define cpu_wdt_timer_mode_clear (   mode)
Value:
do { \
cpu_wdt_timer_mode_clear(mode, NULL); \
} while (false)

Clear the interrupt handler for the CPU-WDT timer mode interrupt.

Parameters
modeThe mode.
See also
cpu_wdt_timer_mode_set

Function Documentation

◆ scu_dma_illegal_set()

static void scu_dma_illegal_set ( scu_dma_ihr_t  ihr)
inlinestatic

Set the interrupt handler for the SCU-DMA illegal interrupt.

There is no need to explicitly return via rte for ihr.

Parameters
ihrThe interrupt handler.

◆ scu_dma_illegal_clear()

static void scu_dma_illegal_clear ( void  )
inlinestatic

Clear the interrupt handler for the SCU-DMA illegal interrupt.

See also
scu_dma_illegal_set

◆ cpu_divu_ovfi_set()

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.

Parameters
ihrThe interrupt handler.
See also
cpu_divu_ovfi_clear

◆ cpu_dual_master_set()

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

Parameters
entryThe entry handler.
See also
cpu_dual_master_notify
cpu_dual_master_clear

◆ cpu_dual_slave_set()

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

Parameters
entryThe entry handler.
See also
cpu_dual_slave_notify
cpu_dual_slave_clear

◆ cpu_frt_oca_set()

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.

Parameters
countThe tick count to trigger OCA on.
ihrThe interrupt handler.
See also
cpu_frt_oca_clear

◆ cpu_frt_ocb_set()

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.

Parameters
countThe tick count to trigger OCB on.
ihrThe interrupt handler.
See also
cpu_frt_ocb_clear

◆ cpu_frt_ovi_set()

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.

Parameters
ihrThe interrupt handler.
See also
cpu_frt_ovi_clear

◆ cpu_wdt_timer_mode_set()

void cpu_wdt_timer_mode_set ( cpu_wdt_mode_t  mode,
cpu_wdt_ihr_t  ihr 
)

Set the CPU-WDT mode.

Parameters
modeThe mode.
ihrThe interrupt handler.

Variable Documentation

◆ ihr

cpu_dmac_ihr_t cpu_dmac_cfg::ihr

Callback when transfer is completed.

Set to NULL if no callback is desired.

◆ ihr_work

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.

◆ ihr_eri

cpu_sci_ihr cpu_sci_cfg::ihr_eri

Callback when receive error is encountered.

Set to NULL if no callback is desired.

◆ ihr_rxi

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.

◆ ihr_txi

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.

◆ ihr_tei

cpu_sci_ihr cpu_sci_cfg::ihr_tei

Callback when transmit data register content is sent.

Set to NULL if no callback is desired.