KM3NeT CLB  2.0
KM3NeT CLB v2 Embedded Software
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
runtime.h File Reference

Provides access to the runtime image booting. More...

#include <stdbool.h>
#include <stdint.h>

Go to the source code of this file.

Macros

#define RT_DEFAULT_IMAGE   1
 

Functions

int rtImage ()
 Returns the image loaded for runtime. More...
 
bool rtSetImage (int imgNo)
 Sets the runtime boot image number. More...
 

Detailed Description

Provides access to the runtime image booting.

Note
may be an intermediate module, and removed later on. Not happy with it.

Definition in file runtime.h.

Function Documentation

int rtImage ( )

Returns the image loaded for runtime.

Returns
Boot image number (0..3).

Definition at line 59 of file runtime.c.

bool rtSetImage ( int  imgNo)

Sets the runtime boot image number.

Parameters
imgNoBoot image number (0..3).
Return values
TrueImage set succesfully
FalseImage set failed, check error module.

Definition at line 66 of file runtime.c.