summaryrefslogtreecommitdiff
path: root/digital/zigbit/bitcloud/stack/Components/MAC_PHY/MAC_HWI/include/machwiStartHandler.h
blob: c838988dda5fdf5bb34d514750f80e1929702e38 (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
/******************************************************************************
  \file machwiStartHandler.h
  
  \brief Header file of machwiStartHandler.

  \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:     
      24/06/07 ALuzhetsky - Created.
******************************************************************************/

#ifndef _MACHWISTARTHANDLER_H
#define _MACHWISTARTHANDLER_H
#ifdef _FFD_

/******************************************************************************
                        Includes section
******************************************************************************/
#include <machwd.h>
#include <machwiManager.h>

/******************************************************************************
                        Defines section
******************************************************************************/

/******************************************************************************
                        Types section
******************************************************************************/
typedef enum
{
  MACHWI_IDLE_START_STATE,
  MACHWI_SET_PAN_ID_START_STATE,
  MACHWI_SET_PAN_COORDINATOR_START_STATE,
  MACHWI_SET_PAGE_START_STATE,
  MACHWI_SET_CHANNEL_START_STATE,
  MACHWI_TX_COORD_REALIG_CMD_STATE,
} MachwiStartState_t;

/******************************************************************************
                        Prototypes section
******************************************************************************/
/******************************************************************************
  TBD
 Parameters:
   TBD - TBD.
 Returns:
   TBD.
******************************************************************************/
MachwiHandlerResult_t machwiStartReqHandler(void);

/******************************************************************************
  Resets start handler.
  Parameters:
    none.
  Returns:
    none.
******************************************************************************/
void machwiResetStartHandler(void);

#endif // _FFD_
#endif /* _MACHWISTARTHANDLER_H */

// eof machwiStartHandler.h