trlo_read_config_file

Section: TRLO II Manual (3)
Updated: January 2, 2014
Index Return to Main Contents
 

NAME

trlo_clear_config, trlo_read_config_file - Configure a TRLO II module.  

SYNOPSIS

#include "trlo_functions.h"

void trlo_clear_config(volatile trlo_register_map *hardware);

void trlo_read_config_file(const char *filename);

Link with -ltrloctrllib.

 

DESCRIPTION

trlo_clear_config() clears the firmware configuration of a TRLO II module specified by hardware by setting all setup registers to zero. Multiplexers are set to source the wired zero source. The exception is DEADTIME_IN(0) which sources wired one, to prevent the internal trigger state machine from activating during its configuration. After configuration is complete, it should be set to get the deadtime from either the internal TRIMI, or an external trigger control module, e.g. TRIVA.

trlo_read_config_file() read configuration from a file given by filename. Note that the configuration only is read and parsed, not acted upon.

TODO: document the function with which a configuration section can be applied.

 

RETURN VALUE

These functions return no value. (They may terminate the program via error reporting routines.)

 

AUTHOR

Håkan T. Johansson <f96hajo@chalmers.se>

 

SEE ALSO

trlo_read_config_file(3), trlo_read_event(3), trlolib(7), trloii(7),


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
AUTHOR
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 04:29:24 GMT, July 10, 2017