Renesas Single-Chip Microcomputer M38C89T-ADF Manuel d'utilisateur Page 58

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 138
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 57
Rev.1.00 May 22 2012
REJ09B0566
4-38
Library Reference
R_IO_PORT_Modify
4
4.2.3 34BI/O Port
Program example
/* PDL definitions */
#include r_pdl_io_port.h
/* PDL device-specific definitions */
#include r_pdl_definitions.h
void func( void )
{
/* Set port pin PE5 */
R_IO_PORT_ModifyControl (
PDL_IO_PORT_E_5,
PDL_IO_PORT_OR
1
);
/* Enable the lower 4 bits on port K to output */
R_IO_PORT_ModifyControl (
PDL_IO_PORT_K,
PDL_IO_PORT_OR,
0x0F
);
}
Vue de la page 57
1 2 ... 53 54 55 56 57 58 59 60 61 62 63 ... 137 138

Commentaires sur ces manuels

Pas de commentaire