
Rev.1.00 May 22 2012
REJ09B0566
Library
Reference
4
4.2.5 36BBus State Controller R_BSC_Create
Program example
/* PDL definitions */
#include “r_pdl_bsc.h”
/* PDL device-specific definitions */
#include “r_pdl_definitions.h”
/* Bus error handler */
void BusErrorFunc(void){}
void func(void)
{
/* create a space with SDRAM control register and SDRAM refresh rate control */
R_BSC_CreateAll(0,0,0,
PDL_BSC_REFRESH_DIV_4_CLOCK | PDL_BSC_REFRESH_COUNTER
|PDL_BSC_REFRESH_1_TIME,
0xa55a0046ul,
BusErrorFunc,
2
);
}
Kommentare zu diesen Handbüchern