Renesas Single-Chip Microcomputer M38C89T-ADF Manual de usuario Pagina 77

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 138
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
);
}
Vista de pagina 76
1 2 ... 72 73 74 75 76 77 78 79 80 81 82 ... 137 138

Comentarios a estos manuales

Sin comentarios