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

Driver Operations Coredump pseudo-device driver operations More...

#include <zephyr/drivers/coredump.h>

Data Fields

coredump_device_dump_t dump
  REQ Add the device's data into the core dump being generated.
coredump_device_register_memory_t register_memory
  REQ Register a region of memory to be stored in core dump at the time it is generated.
coredump_device_unregister_memory_t unregister_memory
  REQ Unregister a region of memory to be stored in core dump at the time it is generated.
coredump_device_register_callback_t register_callback
  REQ Register a callback to be invoked at dump time.

Detailed Description

Driver Operations Coredump pseudo-device driver operations

This is the driver API structure any Coredump pseudo-device driver needs to define. It contains function pointers to the operations the driver implements, as well as any other driver-specific constant data.

Members marked with REQ MUST be set by the driver, whereas those marked with OPT are optional.

See also
DEVICE_DT_INST_DEFINE()
DEVICE_DT_DEFINE()
DEVICE_API()

Field Documentation

◆ dump

coredump_device_dump_t coredump_driver_api::dump

REQ Add the device's data into the core dump being generated.

◆ register_callback

coredump_device_register_callback_t coredump_driver_api::register_callback

REQ Register a callback to be invoked at dump time.

◆ register_memory

coredump_device_register_memory_t coredump_driver_api::register_memory

REQ Register a region of memory to be stored in core dump at the time it is generated.

◆ unregister_memory

coredump_device_unregister_memory_t coredump_driver_api::unregister_memory

REQ Unregister a region of memory to be stored in core dump at the time it is generated.


The documentation for this struct was generated from the following file: