Section: TRLO II Manual (3)
Updated: January 2, 2014
Return to Main Contents
trlo_setup_map_hardware, trlo_setup_check_version, trlo_unmap_hardware
- Setup aceess to a TRLO II module.
volatile trlo_register_map *
trlo_setup_map_hardware(int vmvk, void **unmapinfo);
void trlo_setup_check_version(volatile trlo_register_map *hardware);
void trlo_unmap_hardware(void *unmapinfo);
Link with -ltrloctrllib.
function maps the direct access hardware memory to be able to
communicate with a VULOM/TRIDI running the TRLO II firmware.
vmvk holds the address of the module as given by the
two HEX switches. unmapinfo is a pointer to a pointer
to optionally store unmap information. It may be NULL.
The returned pointer is used by all other read and control functions.
Can also be used directly with the defintions in
Note that this function calls
function checks that the module/firmware accessible at the
virtual address hardware has the same version as the library.
This can be used if the memory mapping has been provided elsewhere,
is used to release memory mapped by
unmapinfo shall be the pointer value received.
Virtual address pointer to access the module/firmware.
(They may terminate the program via error reporting routines.)
Håkan T. Johansson <firstname.lastname@example.org>
- RETURN VALUE
- SEE ALSO
This document was created by
using the manual pages.
Time: 21:02:27 GMT, October 07, 2018