|
Renesas PTX1xxR IoT-Reader API (non-OS) Version 7.3.1
Renesas Software Stack for IoT-Reader Applications (non-OS)
|

Go to the source code of this file.
Data Structures | |
| struct | ptxGPIO_InitParams |
| GPIO Initialization Parameters. More... | |
| struct | ptxGPIO |
| GPIO Component. More... | |
Macros | |
| #define | PTX_GPIO_FLAGS_ENABLE_INTERNAL_PULLUP (uint8_t)0x01 |
| GPIO Flags. | |
| #define | PTX_GPIO_FLAGS_ENABLE_HIGH_DRIVER_STRENGTH (uint8_t)0x02 |
Typedefs | |
| typedef struct ptxGPIO_InitParams | ptxGPIO_InitParams_t |
| GPIO Initialization Parameters. | |
| typedef enum ptxGPIO_Pin | ptxGPIO_Pin_t |
| Supported GPIO-pins. | |
| typedef enum ptxGPIO_Flags | ptxGPIO_Flags_t |
| Supported GPIO-Flags. | |
| typedef enum ptxGPIO_Config | ptxGPIO_Config_t |
| GPIO Config. | |
| typedef struct ptxGPIO | ptxGPIO_t |
| GPIO Component. | |
Enumerations | |
| enum | ptxGPIO_Pin { GPIO_Pin_5 = 5 , GPIO_Pin_6 = 6 , GPIO_Pin_7 = 7 , GPIO_Pin_8 = 8 , GPIO_Pin_9 = 9 , GPIO_Pin_10 = 10 , GPIO_Pin_11 = 11 , GPIO_Pin_12 = 12 } |
| Supported GPIO-pins. | |
| enum | ptxGPIO_Flags { GPIO_Flags_None , GPIO_Flags_In_Enable_Internal_Pullup , GPIO_Flags_Out_Enable_High_Driver_Strength } |
| Supported GPIO-Flags. | |
| enum | ptxGPIO_Config { GPIO_Config_Input , GPIO_Config_Output } |
| GPIO Config. | |
Functions | |
| ptxStatus_t | ptxGPIO_Init (ptxGPIO_t *gpioComp, ptxGPIO_InitParams_t *initParams) |
| Initializes the GPIO Component. | |
| ptxStatus_t | ptxGPIO_Deinit (ptxGPIO_t *gpioComp) |
| Deinitializes the GPIO Component. | |
| ptxStatus_t | ptxGPIO_Config (ptxGPIO_t *gpioComp, ptxGPIO_Pin_t gpioNr, ptxGPIO_Config_t gpioConfig, ptxGPIO_Flags_t gpioFlags) |
| Configures a selected GPIO-pin to work as input or output. | |
| ptxStatus_t | ptxGPIO_Write (ptxGPIO_t *gpioComp, ptxGPIO_Pin_t gpioNr, uint8_t gpioValue) |
| Writes the selected GPIO-pin high or low. | |
| ptxStatus_t | ptxGPIO_Read (ptxGPIO_t *gpioComp, ptxGPIO_Pin_t gpioNr, uint8_t *gpioValue) |
| Reads the current value of a selected GPIO-pin. | |
| ptxStatus_t | ptxGPIO_Write_DAC (ptxGPIO_t *gpioComp, uint8_t dacValue) |
| Sets 5-bit value to DAC (pin DAC_0) | |
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:
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
Project : PTX1K Module : PTX1K GPIO API File : ptxGPIO.h
Description : Writes / Reads GPIO pins 5-12 and provides access to 5-bit DAC of PTX100x