S32 SDK
pins_driver.c File Reference
#include "device_registers.h"
#include "pins_gpio_hw_access.h"

Go to the source code of this file.

Functions

status_t PINS_DRV_Init (uint32_t pinCount, const pin_settings_config_t config[])
 Initializes the pins with the given configuration structure. More...
 
void PINS_DRV_WritePin (GPIO_Type *const base, pins_channel_type_t pin, pins_level_type_t value)
 Write a pin of a port with a given value. More...
 
void PINS_DRV_WritePins (GPIO_Type *const base, pins_channel_type_t pins)
 Write all pins of a port. More...
 
pins_channel_type_t PINS_DRV_GetPinsOutput (const GPIO_Type *const base)
 Get the current output from a port. More...
 
void PINS_DRV_SetPins (GPIO_Type *const base, pins_channel_type_t pins)
 Write pins with 'Set' value. More...
 
void PINS_DRV_ClearPins (GPIO_Type *const base, pins_channel_type_t pins)
 Write pins to 'Clear' value. More...
 
void PINS_DRV_TogglePins (GPIO_Type *const base, pins_channel_type_t pins)
 Toggle pins value. More...
 
pins_channel_type_t PINS_DRV_ReadPins (const GPIO_Type *const base)
 Read input pins. More...