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

Data Structures

struct  peci_driver_api
  Driver Operations PECI driver operations More...

Typedefs

typedef int(* peci_config_t) (const struct device *dev, uint32_t bitrate)
 Callback API to configure the PECI interface.
typedef int(* peci_transfer_t) (const struct device *dev, struct peci_msg *msg)
 Callback API to perform a PECI transaction.
typedef int(* peci_disable_t) (const struct device *dev)
 Callback API to disable the PECI interface.
typedef int(* peci_enable_t) (const struct device *dev)
 Callback API to enable the PECI interface.

Detailed Description

This group contains the API type definitions, callback signatures, and other helpers required to implement a PECI driver.

Typedef Documentation

◆ peci_config_t

typedef int(* peci_config_t) (const struct device *dev, uint32_t bitrate)

#include <zephyr/drivers/peci.h>

Callback API to configure the PECI interface.

See peci_config() for argument description.

◆ peci_disable_t

typedef int(* peci_disable_t) (const struct device *dev)

#include <zephyr/drivers/peci.h>

Callback API to disable the PECI interface.

See peci_disable() for argument description.

◆ peci_enable_t

typedef int(* peci_enable_t) (const struct device *dev)

#include <zephyr/drivers/peci.h>

Callback API to enable the PECI interface.

See peci_enable() for argument description.

◆ peci_transfer_t

typedef int(* peci_transfer_t) (const struct device *dev, struct peci_msg *msg)

#include <zephyr/drivers/peci.h>

Callback API to perform a PECI transaction.

See peci_transfer() for argument description.