Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

GPIO Tracing APIs . More...

Macros

#define sys_port_trace_gpio_pin_interrupt_configure_enter(port, pin, flags)
 Trace GPIO pin interrupt configure enter call.
 
#define sys_port_trace_gpio_pin_interrupt_configure_exit(port, pin, ret)
 Trace GPIO pin interrupt configure exit call.
 
#define sys_port_trace_gpio_pin_configure_enter(port, pin, flags)
 Trace GPIO single pin configure enter call.
 
#define sys_port_trace_gpio_pin_configure_exit(port, pin, ret)
 Trace GPIO single pin configure exit call.
 
#define sys_port_trace_gpio_port_get_direction_enter(port, map, inputs, outputs)
 Trace GPIO port get direction enter call.
 
#define sys_port_trace_gpio_port_get_direction_exit(port, ret)
 Trace GPIO port get direction exit call.
 
#define sys_port_trace_gpio_pin_get_config_enter(port, pin, flags)
 Trace GPIO pin gent config enter call.
 
#define sys_port_trace_gpio_pin_get_config_exit(port, pin, ret)
 Trace GPIO pin get config exit call.
 
#define sys_port_trace_gpio_port_get_raw_enter(port, value)
 Trace GPIO port get raw enter call.
 
#define sys_port_trace_gpio_port_get_raw_exit(port, ret)
 Trace GPIO port get raw exit call.
 
#define sys_port_trace_gpio_port_set_masked_raw_enter(port, mask, value)
 Trace GPIO port set masked raw enter call.
 
#define sys_port_trace_gpio_port_set_masked_raw_exit(port, ret)
 Trace GPIO port set masked raw exit call.
 
#define sys_port_trace_gpio_port_set_bits_raw_enter(port, pins)
 Trace GPIO port set bits raw enter call.
 
#define sys_port_trace_gpio_port_set_bits_raw_exit(port, ret)
 Trace GPIO port set bits raw exit call.
 
#define sys_port_trace_gpio_port_clear_bits_raw_enter(port, pins)
 Trace GPIO port clear bits raw enter call.
 
#define sys_port_trace_gpio_port_clear_bits_raw_exit(port, ret)
 Trace GPIO port clear bits raw exit call.
 
#define sys_port_trace_gpio_port_toggle_bits_enter(port, pins)
 Trace GPIO port toggle bits enter call.
 
#define sys_port_trace_gpio_port_toggle_bits_exit(port, ret)
 Trace GPIO port toggle bits exit call.
 
#define sys_port_trace_gpio_init_callback_enter(callback, handler, pin_mask)
 Trace GPIO init callback enter call.
 
#define sys_port_trace_gpio_init_callback_exit(callback)
 Trace GPIO init callback exit call.
 
#define sys_port_trace_gpio_add_callback_enter(port, callback)
 Trace GPIO add callback enter call.
 
#define sys_port_trace_gpio_add_callback_exit(port, ret)
 Trace GPIO add callback exit call.
 
#define sys_port_trace_gpio_remove_callback_enter(port, callback)
 Trace GPIO remove callback enter call.
 
#define sys_port_trace_gpio_remove_callback_exit(port, ret)
 Trace GPIO remove callback exit call.
 
#define sys_port_trace_gpio_get_pending_int_enter(dev)
 Trace GPIO get pending interrupt enter call.
 
#define sys_port_trace_gpio_get_pending_int_exit(dev, ret)
 Trace GPIO get pending interrupt exit call.
 
#define sys_port_trace_gpio_fire_callbacks_enter(list, port, pins)
 
#define sys_port_trace_gpio_fire_callback(port, callback)
 

Detailed Description

GPIO Tracing APIs .

Macro Definition Documentation

◆ sys_port_trace_gpio_add_callback_enter

#define sys_port_trace_gpio_add_callback_enter ( port,
callback )

#include <zephyr/tracing/tracing.h>

Trace GPIO add callback enter call.

Parameters
portPointer to device structure for the driver instance
callbackA valid application's callback structure pointer

◆ sys_port_trace_gpio_add_callback_exit

#define sys_port_trace_gpio_add_callback_exit ( port,
ret )

#include <zephyr/tracing/tracing.h>

Trace GPIO add callback exit call.

Parameters
portPointer to device structure for the driver instance
retReturn value

◆ sys_port_trace_gpio_fire_callback

#define sys_port_trace_gpio_fire_callback ( port,
callback )

#include <zephyr/tracing/tracing.h>

Parameters
portdevice representing the GPIO port
callbackgpio_callback a valid Application's callback structure pointer

◆ sys_port_trace_gpio_fire_callbacks_enter

#define sys_port_trace_gpio_fire_callbacks_enter ( list,
port,
pins )

#include <zephyr/tracing/tracing.h>

Parameters
listsys_slist_t representing gpio_callback pointers
portdevice representing the GPIO port
pinsgpio_pin_t representing the pins

◆ sys_port_trace_gpio_get_pending_int_enter

#define sys_port_trace_gpio_get_pending_int_enter ( dev)

#include <zephyr/tracing/tracing.h>

Trace GPIO get pending interrupt enter call.

Parameters
devPointer to the device structure for the device instance

◆ sys_port_trace_gpio_get_pending_int_exit

#define sys_port_trace_gpio_get_pending_int_exit ( dev,
ret )

#include <zephyr/tracing/tracing.h>

Trace GPIO get pending interrupt exit call.

Parameters
devPointer to the device structure for the device instance
retReturn value

◆ sys_port_trace_gpio_init_callback_enter

#define sys_port_trace_gpio_init_callback_enter ( callback,
handler,
pin_mask )

#include <zephyr/tracing/tracing.h>

Trace GPIO init callback enter call.

Parameters
callbackA valid application's callback structure pointer
handlerA valid handler function pointer
pin_maskA bit mask of relevant pins for the handler

◆ sys_port_trace_gpio_init_callback_exit

#define sys_port_trace_gpio_init_callback_exit ( callback)

#include <zephyr/tracing/tracing.h>

Trace GPIO init callback exit call.

Parameters
callbackA valid application's callback structure pointer

◆ sys_port_trace_gpio_pin_configure_enter

#define sys_port_trace_gpio_pin_configure_enter ( port,
pin,
flags )

#include <zephyr/tracing/tracing.h>

Trace GPIO single pin configure enter call.

Parameters
portPointer to device structure for the driver instance
pinGPIO pin number to configure
flagsGPIO pin configuration flags

◆ sys_port_trace_gpio_pin_configure_exit

#define sys_port_trace_gpio_pin_configure_exit ( port,
pin,
ret )

#include <zephyr/tracing/tracing.h>

Trace GPIO single pin configure exit call.

Parameters
portPointer to device structure for the driver instance
pinGPIO pin number to configure
retReturn value

◆ sys_port_trace_gpio_pin_get_config_enter

#define sys_port_trace_gpio_pin_get_config_enter ( port,
pin,
flags )

#include <zephyr/tracing/tracing.h>

Trace GPIO pin gent config enter call.

Parameters
portPointer to device structure for the driver instance
pinGPIO pin number to configure
flagsGPIO pin configuration flags

◆ sys_port_trace_gpio_pin_get_config_exit

#define sys_port_trace_gpio_pin_get_config_exit ( port,
pin,
ret )

#include <zephyr/tracing/tracing.h>

Trace GPIO pin get config exit call.

Parameters
portPointer to device structure for the driver instance
pinGPIO pin number to configure
retReturn value

◆ sys_port_trace_gpio_pin_interrupt_configure_enter

#define sys_port_trace_gpio_pin_interrupt_configure_enter ( port,
pin,
flags )

#include <zephyr/tracing/tracing.h>

Trace GPIO pin interrupt configure enter call.

Parameters
portPointer to device structure for the driver instance
pinGPIO pin number
flagsInterrupt configuration flags as defined by GPIO_INT_*

◆ sys_port_trace_gpio_pin_interrupt_configure_exit

#define sys_port_trace_gpio_pin_interrupt_configure_exit ( port,
pin,
ret )

#include <zephyr/tracing/tracing.h>

Trace GPIO pin interrupt configure exit call.

Parameters
portPointer to device structure for the driver instance
pinGPIO pin number
retReturn value

◆ sys_port_trace_gpio_port_clear_bits_raw_enter

#define sys_port_trace_gpio_port_clear_bits_raw_enter ( port,
pins )

#include <zephyr/tracing/tracing.h>

Trace GPIO port clear bits raw enter call.

Parameters
portPointer to device structure for the driver instance
pinsValue indicating which pins will be modified

◆ sys_port_trace_gpio_port_clear_bits_raw_exit

#define sys_port_trace_gpio_port_clear_bits_raw_exit ( port,
ret )

#include <zephyr/tracing/tracing.h>

Trace GPIO port clear bits raw exit call.

Parameters
portPointer to device structure for the driver instance
retReturn value

◆ sys_port_trace_gpio_port_get_direction_enter

#define sys_port_trace_gpio_port_get_direction_enter ( port,
map,
inputs,
outputs )

#include <zephyr/tracing/tracing.h>

Trace GPIO port get direction enter call.

Parameters
portPointer to device structure for the driver instance
mapBitmap of pin directions to query
inputsPointer to a variable where input directions will be stored
outputsPointer to a variable where output directions will be stored

◆ sys_port_trace_gpio_port_get_direction_exit

#define sys_port_trace_gpio_port_get_direction_exit ( port,
ret )

#include <zephyr/tracing/tracing.h>

Trace GPIO port get direction exit call.

Parameters
portPointer to device structure for the driver instance
retReturn value

◆ sys_port_trace_gpio_port_get_raw_enter

#define sys_port_trace_gpio_port_get_raw_enter ( port,
value )

#include <zephyr/tracing/tracing.h>

Trace GPIO port get raw enter call.

Parameters
portPointer to device structure for the driver instance
valuePointer to a variable where the raw value will be stored

◆ sys_port_trace_gpio_port_get_raw_exit

#define sys_port_trace_gpio_port_get_raw_exit ( port,
ret )

#include <zephyr/tracing/tracing.h>

Trace GPIO port get raw exit call.

Parameters
portPointer to device structure for the driver instance
retReturn value

◆ sys_port_trace_gpio_port_set_bits_raw_enter

#define sys_port_trace_gpio_port_set_bits_raw_enter ( port,
pins )

#include <zephyr/tracing/tracing.h>

Trace GPIO port set bits raw enter call.

Parameters
portPointer to device structure for the driver instance
pinsValue indicating which pins will be modified

◆ sys_port_trace_gpio_port_set_bits_raw_exit

#define sys_port_trace_gpio_port_set_bits_raw_exit ( port,
ret )

#include <zephyr/tracing/tracing.h>

Trace GPIO port set bits raw exit call.

Parameters
portPointer to device structure for the driver instance
retReturn value

◆ sys_port_trace_gpio_port_set_masked_raw_enter

#define sys_port_trace_gpio_port_set_masked_raw_enter ( port,
mask,
value )

#include <zephyr/tracing/tracing.h>

Trace GPIO port set masked raw enter call.

Parameters
portPointer to device structure for the driver instance
maskMask indicating which pins will be modified
valueValue to be written to the output pins

◆ sys_port_trace_gpio_port_set_masked_raw_exit

#define sys_port_trace_gpio_port_set_masked_raw_exit ( port,
ret )

#include <zephyr/tracing/tracing.h>

Trace GPIO port set masked raw exit call.

Parameters
portPointer to device structure for the driver instance
retReturn value

◆ sys_port_trace_gpio_port_toggle_bits_enter

#define sys_port_trace_gpio_port_toggle_bits_enter ( port,
pins )

#include <zephyr/tracing/tracing.h>

Trace GPIO port toggle bits enter call.

Parameters
portPointer to device structure for the driver instance
pinsValue indicating which pins will be modified

◆ sys_port_trace_gpio_port_toggle_bits_exit

#define sys_port_trace_gpio_port_toggle_bits_exit ( port,
ret )

#include <zephyr/tracing/tracing.h>

Trace GPIO port toggle bits exit call.

Parameters
portPointer to device structure for the driver instance
retReturn value

◆ sys_port_trace_gpio_remove_callback_enter

#define sys_port_trace_gpio_remove_callback_enter ( port,
callback )

#include <zephyr/tracing/tracing.h>

Trace GPIO remove callback enter call.

Parameters
portPointer to device structure for the driver instance
callbackA valid application's callback structure pointer

◆ sys_port_trace_gpio_remove_callback_exit

#define sys_port_trace_gpio_remove_callback_exit ( port,
ret )

#include <zephyr/tracing/tracing.h>

Trace GPIO remove callback exit call.

Parameters
portPointer to device structure for the driver instance
retReturn value