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

  • 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 76
Rev.1.00 May 22 2012
REJ09B0566
4-57
3BLibrary Reference
4
4.2.5 36BBus State Controller R_BSC_GetStatus
5) R_BSC_GetStatus
Synopsis
Read the External Bus Controller status flags.
Prototype bool R_BSC_GetStatus(
uint8_t * data
// A pointer to the data storage location
);
Description
Read the interrupt status
[data]
The status flags shall be stored in the following format:
b7 b1 b0
-
0: Idle
1: Bus error condition detected
Return value
True.
Category
Bus Controller
Reference
R_BSC_Create
Remarks
If the flag is set to 1, it shall be automatically cleared to 0 by this function.
Program example
/* PDL definitions */
#include r_pdl_bsc.h
/* PDL device-specific definitions */
#include r_pdl_definitions.h
void func(void)
{
uint8_t status;
/* Read the flags */
R_BSC_GetStatus(
&status
);
}
Zobrazit stránku 76
1 2 ... 72 73 74 75 76 77 78 79 80 81 82 ... 137 138

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

Žádné komentáře