summaryrefslogtreecommitdiff
path: root/digital/zigbit/bitcloud/stack/Components/Security/TrustCentre/include/private/tcTaskManager.h
blob: 6753472e472f12ba6b6c4d8a5f51bbe997e53ff0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
/**************************************************************************//**
  \file tcTaskManager.h

  \brief Security Trust Centre task manager header file.

  \author
    Atmel Corporation: http://www.atmel.com \n
    Support email: avr@atmel.com

  Copyright (c) 2008-2011, Atmel Corporation. All rights reserved.
  Licensed under Atmel's Limited License Agreement (BitCloudTM).

  \internal
    History:
      2007.12.25 - ALuzhetsky created.
******************************************************************************/
#ifndef _TCTASKMANAGER_H
#define _TCTASKMANAGER_H

/******************************************************************************
                            Includes section.
******************************************************************************/
#include <types.h>

/******************************************************************************
                             Types section.
******************************************************************************/
/**************************************************************************//**
  \brief TBD.

  TBD
******************************************************************************/
typedef enum
{
  //TC_TASK_RESET,
  TC_TASK_KEY_UPDATE,
#ifdef _LINK_SECURITY_ 
  TC_TASK_KEY_ESTABLISH,
#endif // _LINK_SECURITY_ 
  TC_TASK_REMOVE,
} tcTaskID_t;

/**************************************************************************//**
  \brief TBD.

  TBD
******************************************************************************/
typedef uint8_t TcTaskBitMask_t;

/**************************************************************************//**
  \brief TBD.

  TBD
******************************************************************************/
typedef struct
{
  TcTaskBitMask_t taskBitMask;
} TcTaskManagerMem_t;

/******************************************************************************
                        Functions prototypes section.
******************************************************************************/
/**************************************************************************//**
  \brief TBD.

  \param TBD.
  \return TBD.
******************************************************************************/
void tcPostTask(tcTaskID_t taskID);

/**************************************************************************//**
  \brief TBD.

  \param TBD.
  \return TBD.
******************************************************************************/
void tcResetTaskManager(void);

#endif // _TCTASKMANAGER_H

// eof tcTaskManager.h