William Kane / Generic

Dependents:   LaserioLib

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers abcc_setup.h Source File

abcc_setup.h

00001 /*******************************************************************************
00002 ********************************************************************************
00003 **                                                                            **
00004 ** ABCC Driver version 4.01.01 (2015-12-14)                                   **
00005 **                                                                            **
00006 ** Delivered with:                                                            **
00007 **    ABP         7.16.01 (2015-10-14)                                        **
00008 **                                                                            */
00009 /*******************************************************************************
00010 ********************************************************************************
00011 ** COPYRIGHT NOTIFICATION (c) 2013 HMS Industrial Networks AB                 **
00012 **                                                                            **
00013 ** This program is the property of HMS Industrial Networks AB.                **
00014 ** It may not be reproduced, distributed, or used without permission          **
00015 ** of an authorized company official.                                         **
00016 ********************************************************************************
00017 ********************************************************************************
00018 ** file_description
00019 ********************************************************************************
00020 ********************************************************************************
00021 ** Services:
00022 ** ABCC_SetupInit()           : Init setup state amchine
00023 ** ABCC_SetupCommands()       : Send next command
00024 ** ABCC_SetupResponses()      : Handle setup comand response
00025 ********************************************************************************
00026 ********************************************************************************
00027 */
00028 
00029 #ifndef ABCC_SETUP_H_
00030 #define ABCC_SETUP_H_
00031 
00032 #include "abcc_drv_cfg.h"
00033 #include "abcc_td.h"
00034 #include "abp.h"
00035 
00036 /*******************************************************************************
00037 ** Constants
00038 ********************************************************************************
00039 */
00040 
00041 /*******************************************************************************
00042 ** Typedefs
00043 ********************************************************************************
00044 */
00045 
00046 /*******************************************************************************
00047 ** Public Globals
00048 ********************************************************************************
00049 */
00050 
00051 /*******************************************************************************
00052 ** Public Services
00053 ********************************************************************************
00054 */
00055 
00056 /*------------------------------------------------------------------------------
00057 ** Inititsiate internal varaibles used by the setup state machine
00058 **------------------------------------------------------------------------------
00059 ** Arguments:
00060 **       None.
00061 **
00062 ** Returns:
00063 **       None.
00064 **------------------------------------------------------------------------------
00065 */
00066 EXTFUNC void ABCC_SetupInit( void );
00067 
00068 /*------------------------------------------------------------------------------
00069 ** Run send next command in the setup statemachone
00070 **------------------------------------------------------------------------------
00071 ** Arguments:
00072 **       None.
00073 **
00074 ** Returns:
00075 **       TRUE : Setup state machine has finished
00076 **------------------------------------------------------------------------------
00077 */
00078 EXTFUNC BOOL ABCC_SetupCommands( void );
00079 
00080 /*------------------------------------------------------------------------------
00081 ** Handle setup command response.
00082 **------------------------------------------------------------------------------
00083 ** Arguments:
00084 **       None.
00085 **
00086 ** Returns:
00087 **       None.
00088 **------------------------------------------------------------------------------
00089 */
00090 EXTFUNC void ABCC_SetupResponses( ABP_MsgType* pMsgReciveBuffer );
00091 
00092 
00093 
00094 #endif  /* inclusion lock */