view src/cs/layer1/dl1/l1.h @ 266:160a5b3a076c

new ABB_SLEEP_RESTRICTION definition in fc-target.h When we first introduced the mechanism to suppress ABB superdeep sleep on targets with LCDs powered from Iota VRIO, we made it conditional on CONFIG_TARGET_LUNA. This conditional is now being generalized: the feature in question is now conditionalized on the new ABB_SLEEP_RESTRICTION preprocessor symbol, to be defined in targets/*.h for those targets that need it. The new ABB_SLEEP_RESTRICTION definition is being added to targets/luna[12].h to keep the actual logic unchanged.
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 02 Jun 2021 02:12:14 +0000
parents 4e78acac3d88
children
line wrap: on
line source

/*
+--------------------------------------------------------------------+
| PROJECT : GSM-PS (6147)              SOURCE : L1.H                 |
| AUTHOR  : CONDAT GmbH (nn)           VERSION: 01.00-01             |
| CREATED : 03.06.96                   STATE  : code                 |
+--------------------------------------------------------------------+

   MODULE  : L1

   PURPOSE : Definitions for the Protocol Stack Entity
             Layer 1


*/

#ifndef L1_H
#define L1_H

/*==== CONSTANTS ==================================================*/
#define DEBUG_PORT       (2)
#define DUART_PORT       (DEBUG_PORT - 1)
#define DEBUG_STACK_SIZE (1024)
#define LOG_STACK_SIZE (1024)
#define MONITOR_STACK_SIZE (1024)

/*==== TYPES ======================================================*/
/*==== EXPORT =====================================================*/
void l1_create_ISR (void);
void dl1_create_debug_task (void);

void dt_assert(int _expr, char *s);
void dt_error_message(char *s);
void l1a_task(unsigned arcg, void *argv);
unsigned get_arm_version (void);
unsigned get_dsp_version (void);


#endif