STM32G0 MCAL 0.0.1
Tiny MCAL for educational purpose.
Loading...
Searching...
No Matches
ComStack_Types.h
Go to the documentation of this file.
1
10#ifndef COM_STACK_TYPES_H__
11#define COM_STACK_TYPES_H__
12
13#include "Std_Types.h"
14
29
43
63
70
76typedef enum
77{
78 TP_STMIN = 0x00,
79 TP_BS = 0x01,
80 TP_BC = 0x02
82
88typedef enum
89{
90 BUFREQ_OK = 0x00,
95
101typedef enum
102{
103 TP_DATACONF = 0x00,
107
118
125
132
133#endif /* COM_STACK_TYPES_H__ */
uint16 CbkHandleIdType
Used for the handle Ids of Com and LdCom user callbacks. Tags: atp.Status=draft.
Definition ComStack_Types.h:131
uint8 PduIdType
This type is used within the entire AUTOSAR Com Stack except for bus drivers.
Definition ComStack_Types.h:28
TpDataStateType
Variables of this type shall be used to store the state of TP buffer.
Definition ComStack_Types.h:102
@ TP_DATARETRY
Definition ComStack_Types.h:104
@ TP_DATACONF
Definition ComStack_Types.h:103
@ TP_CONFPENDING
Definition ComStack_Types.h:105
BufReq_ReturnType
Variables of this type shall be used to store the result of a buffer request.
Definition ComStack_Types.h:89
@ BUFREQ_E_BUSY
Definition ComStack_Types.h:92
@ BUFREQ_E_NOT_OK
Definition ComStack_Types.h:91
@ BUFREQ_E_OVFL
Definition ComStack_Types.h:93
@ BUFREQ_OK
Definition ComStack_Types.h:90
uint8 NetworkHandleType
This variables shall be used to store the identifier of a communication channel.
Definition ComStack_Types.h:124
TPParameterType
Specify the parameter to which the value has to be changed (BS or STmin).
Definition ComStack_Types.h:77
@ TP_BS
Definition ComStack_Types.h:79
@ TP_BC
Definition ComStack_Types.h:80
@ TP_STMIN
Definition ComStack_Types.h:78
uint8 PNCHandleType
Used to store the identifier of a partial network cluster.
Definition ComStack_Types.h:69
uint32 PduLengthType
This type shall be used within the entire AUTOSAR Com Stack except for bus drivers.
Definition ComStack_Types.h:42
unsigned short uint16
Definition Platform_Types.h:96
unsigned int uint32
Definition Platform_Types.h:98
unsigned char uint8
Definition Platform_Types.h:94
Specification of Standard Types
This variables shall be used to store the basic information about a PDU.
Definition ComStack_Types.h:58
uint8 * SduDataPtr
Definition ComStack_Types.h:59
uint8 * MetaDataPtr
Definition ComStack_Types.h:60
PduLengthType SduLength
Definition ComStack_Types.h:61
Variables of this type shall be used to store the information about Tp buffer handling.
Definition ComStack_Types.h:114
TpDataStateType TpDataState
Definition ComStack_Types.h:115
PduLengthType TxTpDataCnt
Definition ComStack_Types.h:116