8 #ifndef _SYSIO_IOMAP_H_ 9 #define _SYSIO_IOMAP_H_ 10 #include <sysio/defs.h> 84 volatile unsigned int *
pIo(
const xIoMap *p,
unsigned int offset);
xIoMap * xIoMapOpen(unsigned long base, unsigned int size)
Ouverture d'une projection mémoire.
bool bIoMapIsOpen(const xIoMap *p)
Indique si une projection mémoire est ouverte.
volatile unsigned int * pIo(const xIoMap *p, unsigned int offset)
Pointeur d'accès aux registres.
struct xIoMap xIoMap
Projection mémoire.
int iIoMapClose(xIoMap *p)
Fermeture d'une projection mémoire.
unsigned long ulIoMapBase(const xIoMap *p)
Adresse de base de la zone projetée.
unsigned int uIoMapSize(const xIoMap *p)
Taille de la zone projetée.