Renesas PTX1xxR IoT-Reader API Version 7.3.1
Renesas Software Stack for IoT-Reader Applications
ptxNSC_Common.h
Go to the documentation of this file.
1
44#ifndef COMPS_NSC_PTXNSC_COMMON_H_
45#define COMPS_NSC_PTXNSC_COMMON_H_
46
53/*
54 * ####################################################################################################################
55 * INCLUDES
56 * ####################################################################################################################
57 */
58
59#include "ptx_IoRq.h"
60
61#ifdef __cplusplus
62extern "C"
63{
64#endif
65
66
67/*
68 * ####################################################################################################################
69 * DEFINES / TYPES
70 * ####################################################################################################################
71 */
72
73#define PTX_NSC_LENGTH_MAX (255u)
78#define PTX_NSC_HAL_DUMMY_VALUE (0xFFu)
79#define PTX_NSC_HAL_BUFFER_LENGTH_RX_MAX 256
81/*
82 * Forward declaration.
83 */
84struct ptxNSC;
85
86
87/*
88 * ####################################################################################################################
89 * API FUNCTIONS
90 * ####################################################################################################################
91 */
92
106ptxStatus_t ptxNSC_Common_Post(struct ptxNSC *nscCtx, ptxIoRq_t *ioCpl, ptxStatus_t ret , pptxIoRqCompletion_t ptxNSCCompletion);
107
119ptxStatus_t ptxNSC_Comon_DataMsgRx(struct ptxNSC *nscCtx, ptxIoRq_t *ioCpl);
120
132ptxStatus_t ptxNSC_CltMsgRx (ptxNSC_t *nscCtx, ptxIoRq_t *ioCpl);
133
136#ifdef __cplusplus
137}
138#endif
139
140#endif /* Guard */
141
142
uint16_t ptxStatus_t
Status Type.
Definition ptx_Status.h:82
void(* pptxIoRqCompletion_t)(struct ptxIoRq *ioRq, void *cplUpperLayer, void *data, size_t dataLength, ptxStatus_t cplStatus)
I/O Completion Callback.
Definition ptx_IoRq.h:143
I/O Request structure.
Definition ptx_IoRq.h:154
Definition ptxNSC_Interface.h:152