Graphics framework for GR-PEACH. When you use this program, we judge you have agreed to the following contents. https://developer.mbed.org/teams/Renesas/wiki/About-LICENSE

Dependents:   ImageZoomInout_Sample ImageRotaion_Sample ImageScroll_Sample GR-PEACH_LCD_4_3inch_Save_to_USB ... more

Embed: (wiki syntax)

« Back to documentation index

mcu_interrupts.c File Reference

mcu_interrupts.c File Reference

Interrupt related FIT BSP. More...

Go to the source code of this file.

Functions

bsp_int_err_t R_BSP_InterruptWrite (bsp_int_src_t const in_IRQ_Num, bsp_int_cb_t const in_Callback)
 Registers a interrupt handler.
bsp_int_err_t R_BSP_InterruptRead (bsp_int_src_t const in_IRQ_Num, bsp_int_cb_t *const out_Callback)
 Returns registered interrupt handler.
void R_OSPL_OnInterruptForUnregistered (uint32_t const int_sense)
 Interrupt callback function for unregisterd interrupt.
bsp_int_err_t R_BSP_InterruptControl (bsp_int_src_t const in_IRQ_Num, bsp_int_cmd_t const in_Command, void *const in_NotUsed)
 Controls related to the interrupt.

Detailed Description

Interrupt related FIT BSP.

Module:
OSPL
PublicVersion:
0.90

(=R_OSPL_VERSION)

Rev:
35
Date:
2014-04-15 21:38:18 +0900#

Definition in file mcu_interrupts.c.


Function Documentation

bsp_int_err_t R_BSP_InterruptControl ( bsp_int_src_t const   IRQ_Num,
bsp_int_cmd_t const   Command,
void *const   NotUsed 
)

Controls related to the interrupt.

Parameters:
IRQ_NumInterrupt request number
CommandControl command. See <bsp_int_cmd_t>
NotUsedDepend on "Command" argument
Returns:
Error code. If there is no error, the return value is BSP_INT_SUCCESS.

Definition at line 115 of file mcu_interrupts.c.

bsp_int_err_t R_BSP_InterruptRead ( bsp_int_src_t const   IRQ_Num,
bsp_int_cb_t *const   out_Callback 
)

Returns registered interrupt handler.

Parameters:
IRQ_NumInterrupt request number
out_CallbackOutput: the function as interrupt handler
Returns:
Error code. If there is no error, the return value is BSP_INT_SUCCESS.

Definition at line 95 of file mcu_interrupts.c.

bsp_int_err_t R_BSP_InterruptWrite ( bsp_int_src_t const   IRQ_Num,
bsp_int_cb_t const   Callback 
)

Registers a interrupt handler.

Parameters:
IRQ_NumInterrupt request number
CallbackThe function as interrupt handler
Returns:
Error code. If there is no error, the return value is BSP_INT_SUCCESS.

Definition at line 64 of file mcu_interrupts.c.

void R_OSPL_OnInterruptForUnregistered ( uint32_t const   int_sense )

Interrupt callback function for unregisterd interrupt.

Parameters:
int_sense(See INTC driver)
Returns:
None

Definition at line 105 of file mcu_interrupts.c.