MODBUS laajempi esimerkki
util.h File Reference

Header file for util.c. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void wait (uint16_t time)
 Basic wait. More...
 
void _delay_us (double __us)
 
uint16_t eeprom_read_word (const uint16_t *addr)
 
void eeprom_write_word (uint16_t *addr, uint16_t value)
 
unsigned char read_modbuss_HW_address (void)
 Reads the devices (ModBus)address from Hardware. More...
 

Detailed Description

Header file for util.c.


$Source$ Date

Date
2010-01-05 15:24:34 +0200 (ti, 05 tammi 2010)

Versions:

Revision
160
Rev
160

Function Documentation

void _delay_us ( double  __us)
Todo:
Not used, prototypes everywhere

Here is the caller graph for this function:

uint16_t eeprom_read_word ( const uint16_t *  addr)

Here is the caller graph for this function:

void eeprom_write_word ( uint16_t *  addr,
uint16_t  value 
)

Here is the caller graph for this function:

unsigned char read_modbuss_HW_address ( void  )

Reads the devices (ModBus)address from Hardware.


Returns
Modbus address.
Warning

Here is the caller graph for this function:

void wait ( uint16_t  time)

Basic wait.


Parameters
timeTime to wait in milliseconds.