Renesas Single-Chip Microcomputer M38C89T-ADF Uživatelský manuál Strana 69

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 138
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 68
Rev.1.00 May 22 2012
REJ09B0566
4-49
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
);
}
Zobrazit stránku 68
1 2 ... 64 65 66 67 68 69 70 71 72 73 74 ... 137 138

Komentáře k této Příručce

Žádné komentáře