
Rev.1.00 May 22 2012
REJ09B0566
3BLibrary Reference
R_BSC_Destroy
4.2.5 36BBus State Controller
Synopsis
Modify the External Bus Controller operation.
Prototype bool R_BSC_Control(
uint8_t data
// Area selection
);
Description
Provide interrupt flag clearing
[data]
• Error clearing
0 Clear the bus error signals. This will also clear the interrupt flag.
Return value
True if all parameters are valid; otherwise false.
Category
Bus Controller
Reference
R_BSC_Create, R_BSC_Destroy
Remarks
• This function can be called from the error handling function (see R_BSC_Create).
Program example
/* PDL definitions */
#include “r_pdl_bsc.h”
/* PDL device-specific definitions */
#include “r_pdl_definitions.h”
void func(void)
{
/* Clear the bus error signals */
R_BSC_Control(
PDL_BSC_ERROR_CLEAR
);
}
Commenti su questo manuale