User`s manual

RX62N Group, RX621 Group 4. Library Reference
4) R_BSC_Destroy
Synopsis
Stop the External Bus Controller.
Prototype
bool R_BSC_Destroy(
uint8_t data
// Area selection
);
Description
Disable an external bus area.
[data]
Select the external bus area CSn (where n = 0 to 7) to be disabled.
Return value
True.
Category
Bus Controller
Reference
R_BSC_CreateArea
Remarks
The bus error interrupt request will not be disabled by this function.
Use R_BSC_Control to disable it.
Port Function Control register PF0CSE is modified by this function.
For the 85-pin package, there are no CS0 to CS3 areas.
Program example
/* RPDL definitions */
#include "r_pdl_bsc.h"
/* RPDL device-specific definitions */
#include "r_pdl_definitions.h"
void func(void)
{
/* Disable the CS4 area */
R_BSC_Destroy(
4
);
}
R20UT0084EE0112 Rev.1.12 Page 4-59
July. 16, 2014