no-OS
Loading...
Searching...
No Matches
max96793.h File Reference
#include <stdbool.h>
#include <stdint.h>
#include "gmsl_common.h"
Include dependency graph for max96793.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  max96793_dev_capabilities
 Structure representing the capabilities of the MAX96793 device. More...
 
struct  max96793_state
 Structure representing MAX96793 device state. More...
 

Macros

#define MAX96793_LMN_COUNT   (2u) /* Number of LMN */
 
#define MAX96793_MIPI_PHY_COUNT   (2u) /* Number of PHY */
 
#define MAX96793_DEV_STATE_MEM_SIZE   (sizeof(struct max96793_state))
 

Enumerations

enum  max96793_phy {
  MAX96793_PHY_1 = 0u ,
  MAX96793_PHY_2 = 1u
}
 Enumeration for MAX96793 PHY. More...
 

Functions

int32_t max96793_init (struct gmsl_dev **device, struct no_os_i2c_desc *i2c_desc, void *init_param)
 Initialize the MAX96793 device.
 
int32_t max96793_remove (struct gmsl_dev *dev)
 Free memory allocated by max96793_init().
 

Macro Definition Documentation

◆ MAX96793_DEV_STATE_MEM_SIZE

#define MAX96793_DEV_STATE_MEM_SIZE   (sizeof(struct max96793_state))

◆ MAX96793_LMN_COUNT

#define MAX96793_LMN_COUNT   (2u) /* Number of LMN */

◆ MAX96793_MIPI_PHY_COUNT

#define MAX96793_MIPI_PHY_COUNT   (2u) /* Number of PHY */

Enumeration Type Documentation

◆ max96793_phy

Enumeration for MAX96793 PHY.

Enumerator
MAX96793_PHY_1 

Phy 1

MAX96793_PHY_2 

Phy 2