LinuxCNC Documentation

SYNTAX

void *rtapi_request_region(unsigned long _base_, unsigned long int _size_, const char* _name_)
void rtapi_release_region(unsigned long _base_, unsigned long int _size_)

ARGUMENTE

base

Die Basisadresse des E/A-Bereichs

Größe

Die Größe der E/A-Region

name

Der Name, der in /proc/ioports angezeigt werden soll

BESCHREIBUNG

rtapi_request_region reserves I/O memory starting at base and going for size bytes.

REALTIME CONSIDERATIONS

Darf nur von Echtzeit-Init/Cleanup-Code aufgerufen werden.

RETURN VALUE

rtapi_request_region returns NULL if the allocation fails, and a non-NULL value otherwise.

rtapi_release_region has no return value.