Renesas PTX1xxR IoT-Reader API Version 7.3.1
Renesas Software Stack for IoT-Reader Applications
Data Structures | Typedefs | Functions
ptx_Fifo_IoRq.h File Reference
#include "ptx_IoRq.h"
Include dependency graph for ptx_Fifo_IoRq.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ptxFifoIoRq
 FIFO I/O Request structure. More...
 

Macros

Definitions
#define PTX_FIFO_IORQ_EMPTY   0
 
#define PTX_FIFO_IORQ_MIN_SIZE   2
 

Typedefs

typedef struct ptxFifoIoRq ptxFifoIoRq_t
 FIFO I/O Request structure.
 

Functions

ptxStatus_t ptxFifo_IoRq_Init (ptxFifoIoRq_t *fifoIoRq, struct ptxOsal *osAl, ptxLog_t *logger, size_t fifoCapacity)
 Initialize the FIFO I/O Request Structure.
 
ptxStatus_t ptxFifo_IoRq_DeInit (ptxFifoIoRq_t *fifoIoRq)
 Shut down the FIFO I/O Request Structure.
 
ptxStatus_t ptxFifo_IoRq_Post (ptxFifoIoRq_t *fifoIoRq, ptxIoRq_t *ioRq)
 Post a new entry to the tail of FIFO that stores I/O requests.
 
ptxStatus_t ptxFifo_IoRq_PostQuitRequest (ptxFifoIoRq_t *fifoIoRq)
 Post a thread exit request to the tail of FIFO.
 
ptxStatus_t ptxFifo_IoRq_Get (ptxFifoIoRq_t *fifoIoRq, ptxIoRq_t **ioRq)
 Get the entry of the FIFO that stores I/O requests.
 

Detailed Description

SPDX-License-Identifier: BSD-3-Clause

Copyright (c) 2026, Renesas Electronics Corporation and/or its affiliates

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of Renesas nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY Renesas "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL RENESAS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Project : PTX1K Module : IORQ (I/O ReQuests) File : ptx_Fifo_IoRq.h

Description :