weAut_01 / weAutSys    R 2.2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines
Data Structures | Defines | Typedefs | Variables
include/we-aut_sys/common.h File Reference

Overview

weAutSys' common types and helper functions

This file contains the definitions for weAutSys' common types and helper macros or functions. They are utilised in more than one application field respectively application or system module &mdash but not in bootloaders.

This file is part of weAutSys   <weinert-automation.de>

  Copyright © 2012 Albrecht Weinert, Bochum

Author:
Albrecht Weinert   <a-weinert.de>
Revision:
2
Date:
2017-01-25 17:49:03 +0100 (Mi, 25 Jan 2017)

Data Structures

struct  cliThr_data_t
 The organisational data for a command line interpreter (CLI) thread. More...
struct  hierThr_data_t
 The organisational data for a small thread hierarchy. More...
struct  modConfData_t
 The configuration data (type) for a Modbus handling. More...
struct  modTelegr_t
 The (start of a) Modbus TCP/IP telegram. More...
struct  modThr_data_t
 The organisational data for a Modbus handler thread. More...
struct  mThr_data_t
 State data for a thread (minimal) More...
struct  outFlashTextThr_data_t
 The organisational data for a flash strings array output thread. More...
struct  thr_data_t
 State data for a thread (universal variable type) More...

Defines

#define EXTRA_THR_ST_SZ   158
 Size of (extra) thread state data.
#define FOLLOW_UP
 Follow up string marker for outFlashTextThr_data_t.
#define LEN_OF_CLITHR_LINE
 The maximum number of characters in cliThr_data_t.line.
#define SIZE_OF_BIGGEST_APPSTATE   164
 The size of the biggest application state structure used in bytes.

Typedefs

typedef ptfnct_tfun_t )(struct thr_data_t *thrData)
 Type of a protothread function (struct thr_data_t *)
typedef ptfnct_tfunA_t )(struct cliThr_data_t *thrData)
 Type of a protothread function (cliThr_data_t *)
typedef ptfnct_tfunM_t )(struct modThr_data_t *thrData)
 Type of a protothread function (modThr_data_t *)
typedef ptfnct_tfunU_t )(struct mThr_data_t *uthr_data)
 Type of a protothread function (struct mThr_data_t *)
typedef ptfnct_tfunV_t )(void)
 Type of a protothread function (void)
typedef funU_tp2ptFun
 Pointer to a protothread function (struct mThr_data_t *)
typedef funA_tp2ptFunA
 Pointer to a protothread function (cliThr_data_t *)
typedef fun_tp2ptFunC
 Pointer to a protothread function (struct thr_data_t *)
typedef funM_tp2ptFunM
 Pointer to a protothread function (modThr_data_t *)
typedef funV_tp2ptFunV
 Pointer to a protothread function (void)

Variables

char const bLF1 []
 1 blank, 1 linefeed 0 terminated in flash memory
char const bLF2 []
 1 blank, 2 linefeed 0 terminated in flash memory
char const l4nefeeds []
 A short string with just one blank and four linefeeds in flash memory.