User`s manual
RX62N Group, RX621 Group 4. Library Reference
2) R_BSC_CreateArea
Synopsis
Configure an external bus area.
Prototype
bool R_BSC_CreateArea(
uint8_t data1,
// Area selection
uint16_t data2,
// Configuration selection
uint8_t data3,
// RRCV cycles
uint8_t data4,
// WRCV cycles
uint8_t data5,
// CSPRWAIT cycles
uint8_t data6,
// CSPWWAIT cycles
uint8_t data7,
// CSRWAIT cycles
uint8_t data8,
// CSWWAIT cycles
uint8_t data9,
// CSROFF cycles
uint8_t data10,
// CSWOFF cycles
uint8_t data11,
// WDOFF cycles
uint8_t data12,
// RDON cycles
uint8_t data13,
// WRON cycles
uint8_t data14,
// WDON cycles
uint8_t data15
// CSON cycles
);
Description (1/2)
Set up an external bus area.
[data1]
The address area n (where n = 0 to 7).
[data2]
Configure the operation of area CSn.
If multiple selections are required, use "|" to separate each selection.
The default settings are shown in bold. Specify PDL_NO_DATA to use the defaults.
•
External bus width
PDL_BSC_WIDTH_16 or
PDL_BSC_WIDTH_8 or
PDL_BSC_WIDTH_32
Select 16-bit, 8-bit or 32-bit data bus width
•
Endian mode
PDL_BSC_ENDIAN_SAME or
PDL_BSC_ENDIAN_OPPOSITE
Set the bus endian mode to be the same or
opposite to that of the CPU.
•
Write access mode
PDL_BSC_WRITE_BYTE or
PDL_BSC_WRITE_SINGLE
Select byte strobe or
single write strobe mode.
•
External wait control
PDL_BSC_WAIT_DISABLE or
PDL_BSC_WAIT_ENABLE
Disable or enable external wait control (using the
WAIT# pin).
•
Page access control
PDL_BSC_PAGE_READ_DISABLE or
PDL_BSC_PAGE_READ_NORMAL or
PDL_BSC_PAGE_READ_CONTINUOUS
Disable or enable page read accesses using
normal access compatible mode or
continuous assertion mode.
PDL_BSC_PAGE_WRITE_DISABLE or
PDL_BSC_PAGE_WRITE_ENABLE
Disable or enable page write accesses.
[data3]
The number of read recovery cycles (RRCV). Valid between 0 and 15.
[data4]
The number of write recovery cycles (WRCV). Valid between 0 and 15.
R20UT0084EE0112 Rev.1.12 Page 4-54
July. 16, 2014