MODBUS laajempi esimerkki
util.c File Reference

Utilities. More...

#include "kosteus.h"
Include dependency graph for util.c:

Functions

void Fatal_error (unsigned char error_code)
 On fatal error executin comes here and watch dog will handle the reset. More...
 
void wait (uint16_t time)
 Basic wait. More...
 
unsigned char get_sw_revision (unsigned char rev_text)
 For acquiring the software revision. More...
 

Detailed Description

Utilities.


Function Documentation

void Fatal_error ( unsigned char  error_code)

On fatal error executin comes here and watch dog will handle the reset.


Parameters
error_codeError code for error definition.

Here is the caller graph for this function:

unsigned char get_sw_revision ( unsigned char  rev_text)

For acquiring the software revision.


Parameters
rev_text
Warning
Not in use.
void wait ( uint16_t  time)

Basic wait.


Parameters
timeTime to wait in milliseconds.