Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
|
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) |
GPIO Tracing APIs .
#define sys_port_trace_gpio_add_callback_enter | ( | port, | |
callback ) |
#include <zephyr/tracing/tracing.h>
Trace GPIO add callback enter call.
port | Pointer to device structure for the driver instance |
callback | A valid application's callback structure pointer |
#define sys_port_trace_gpio_add_callback_exit | ( | port, | |
ret ) |
#include <zephyr/tracing/tracing.h>
Trace GPIO add callback exit call.
port | Pointer to device structure for the driver instance |
ret | Return value |
#define sys_port_trace_gpio_fire_callback | ( | port, | |
callback ) |
#include <zephyr/tracing/tracing.h>
port | device representing the GPIO port |
callback | gpio_callback a valid Application's callback structure pointer |
#define sys_port_trace_gpio_fire_callbacks_enter | ( | list, | |
port, | |||
pins ) |
#include <zephyr/tracing/tracing.h>
list | sys_slist_t representing gpio_callback pointers |
port | device representing the GPIO port |
pins | gpio_pin_t representing the pins |
#define sys_port_trace_gpio_get_pending_int_enter | ( | dev | ) |
#include <zephyr/tracing/tracing.h>
Trace GPIO get pending interrupt enter call.
dev | Pointer to the device structure for the device instance |
#define sys_port_trace_gpio_get_pending_int_exit | ( | dev, | |
ret ) |
#include <zephyr/tracing/tracing.h>
Trace GPIO get pending interrupt exit call.
dev | Pointer to the device structure for the device instance |
ret | Return value |
#define sys_port_trace_gpio_init_callback_enter | ( | callback, | |
handler, | |||
pin_mask ) |
#include <zephyr/tracing/tracing.h>
Trace GPIO init callback enter call.
callback | A valid application's callback structure pointer |
handler | A valid handler function pointer |
pin_mask | A bit mask of relevant pins for the handler |
#define sys_port_trace_gpio_init_callback_exit | ( | callback | ) |
#include <zephyr/tracing/tracing.h>
Trace GPIO init callback exit call.
callback | A valid application's callback structure pointer |
#define sys_port_trace_gpio_pin_configure_enter | ( | port, | |
pin, | |||
flags ) |
#include <zephyr/tracing/tracing.h>
Trace GPIO single pin configure enter call.
port | Pointer to device structure for the driver instance |
pin | GPIO pin number to configure |
flags | GPIO pin configuration flags |
#define sys_port_trace_gpio_pin_configure_exit | ( | port, | |
pin, | |||
ret ) |
#include <zephyr/tracing/tracing.h>
Trace GPIO single pin configure exit call.
port | Pointer to device structure for the driver instance |
pin | GPIO pin number to configure |
ret | Return value |
#define sys_port_trace_gpio_pin_get_config_enter | ( | port, | |
pin, | |||
flags ) |
#include <zephyr/tracing/tracing.h>
Trace GPIO pin gent config enter call.
port | Pointer to device structure for the driver instance |
pin | GPIO pin number to configure |
flags | GPIO pin configuration flags |
#define sys_port_trace_gpio_pin_get_config_exit | ( | port, | |
pin, | |||
ret ) |
#include <zephyr/tracing/tracing.h>
Trace GPIO pin get config exit call.
port | Pointer to device structure for the driver instance |
pin | GPIO pin number to configure |
ret | Return value |
#define sys_port_trace_gpio_pin_interrupt_configure_enter | ( | port, | |
pin, | |||
flags ) |
#include <zephyr/tracing/tracing.h>
Trace GPIO pin interrupt configure enter call.
port | Pointer to device structure for the driver instance |
pin | GPIO pin number |
flags | Interrupt configuration flags as defined by GPIO_INT_* |
#define sys_port_trace_gpio_pin_interrupt_configure_exit | ( | port, | |
pin, | |||
ret ) |
#include <zephyr/tracing/tracing.h>
Trace GPIO pin interrupt configure exit call.
port | Pointer to device structure for the driver instance |
pin | GPIO pin number |
ret | Return value |
#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.
port | Pointer to device structure for the driver instance |
pins | Value indicating which pins will be modified |
#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.
port | Pointer to device structure for the driver instance |
ret | Return value |
#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.
port | Pointer to device structure for the driver instance |
map | Bitmap of pin directions to query |
inputs | Pointer to a variable where input directions will be stored |
outputs | Pointer to a variable where output directions will be stored |
#define sys_port_trace_gpio_port_get_direction_exit | ( | port, | |
ret ) |
#include <zephyr/tracing/tracing.h>
Trace GPIO port get direction exit call.
port | Pointer to device structure for the driver instance |
ret | Return value |
#define sys_port_trace_gpio_port_get_raw_enter | ( | port, | |
value ) |
#include <zephyr/tracing/tracing.h>
Trace GPIO port get raw enter call.
port | Pointer to device structure for the driver instance |
value | Pointer to a variable where the raw value will be stored |
#define sys_port_trace_gpio_port_get_raw_exit | ( | port, | |
ret ) |
#include <zephyr/tracing/tracing.h>
Trace GPIO port get raw exit call.
port | Pointer to device structure for the driver instance |
ret | Return value |
#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.
port | Pointer to device structure for the driver instance |
pins | Value indicating which pins will be modified |
#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.
port | Pointer to device structure for the driver instance |
ret | Return value |
#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.
port | Pointer to device structure for the driver instance |
mask | Mask indicating which pins will be modified |
value | Value to be written to the output pins |
#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.
port | Pointer to device structure for the driver instance |
ret | Return value |
#define sys_port_trace_gpio_port_toggle_bits_enter | ( | port, | |
pins ) |
#include <zephyr/tracing/tracing.h>
Trace GPIO port toggle bits enter call.
port | Pointer to device structure for the driver instance |
pins | Value indicating which pins will be modified |
#define sys_port_trace_gpio_port_toggle_bits_exit | ( | port, | |
ret ) |
#include <zephyr/tracing/tracing.h>
Trace GPIO port toggle bits exit call.
port | Pointer to device structure for the driver instance |
ret | Return value |
#define sys_port_trace_gpio_remove_callback_enter | ( | port, | |
callback ) |
#include <zephyr/tracing/tracing.h>
Trace GPIO remove callback enter call.
port | Pointer to device structure for the driver instance |
callback | A valid application's callback structure pointer |
#define sys_port_trace_gpio_remove_callback_exit | ( | port, | |
ret ) |
#include <zephyr/tracing/tracing.h>
Trace GPIO remove callback exit call.
port | Pointer to device structure for the driver instance |
ret | Return value |