-
Notifications
You must be signed in to change notification settings - Fork 41
/
J1939.c
54 lines (48 loc) · 1.86 KB
/
J1939.c
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
/////////////////////////////////////////////////////////////////////////////////////////
// File: J1939.c
// Module: J1939 stack
// Description: Main routines for the J1939 stack
// Originator: MB
// Derived from: Freescale J1939 stack
// Date created: 09 June 2014
//---------------------------------------------------------------------------------------
// Revision Log:
// $Log: $
//
//---------------------------------------------------------------------------------------
// Notes:
//
//---------------------------------------------------------------------------------------
/////////////////////////////////////////////////////////////////////////////////////////
// Copyright (C)2014 by Timespace Technology Ltd. All rights reserved.
//
// This software is confidential. It is not to be copied or distributed in any form
// to any third party.
//
// This software is provided by Timespace Technology on an 'as is' basis, and Timespace
// Technology expressly disclaims any and all warranties, expressed or implied including,
// without limitation, warranties of merchantability and fitness for a particular
// purpose. In no event shall Timespace Technology be liable for any direct, indirect,
// incidental, punitive or consequential damages - of any kind whatsoever - with respect
// to the software.
/////////////////////////////////////////////////////////////////////////////////////////
#include "J1939_includes.h"
//========================================================================================
//protocol stack Interface Functions
//========================================================================================
void J1939_stk_init(void)
{
HAL_init();
DL_init();
TL_init();
NML_init();
AL_init();
}
void J1939_stk_periodic(void)
{
HAL_periodic();
DL_periodic();
TL_periodic();
NML_periodic();
AL_periodic();
}