User`s manual
RX62N Group, RX621 Group 4. Library Reference
Category
SPI
Reference
R_SPI_Create
Remarks
•
If a channel is disabled using PDL_SPI_DISABLE, call R_SPI_Create to resume channel
operations.
Program example
/* RPDL definitions */
#include "r_pdl_spi.h"
/* RPDL device-specific definitions */
#include "r_pdl_definitions.h"
void func(void)
{
/* Enable direct loopback mode */
R_SPI_Control(
0,
PDL_SPI_LOOPBACK_DIRECT,
PDL_NO_DATA
);
/* Change the extended timings */
R_SPI_Control(
0,
PDL_NO_DATA,
PDL_SPI_CLOCK_DELAY_8 | PDL_SPI_SSL_DELAY_5
);
}
R20UT0084EE0112 Rev.1.12 Page 4-213
July. 16, 2014