PebbleOS v4.47.0-160-g9e782207f
Loading...
Searching...
No Matches
SF32LB MPI

HyperBus controller driver for the SF32LB MPI. More...

Data Structures

struct  pbl_hyperbus_sf32lb_mpi
 SF32LB MPI HyperBus controller. More...
 

Macros

#define PBL_HYPERBUS_SF32LB_MPI_DEFINE(sym, _name, _mpi)
 Define an SF32LB MPI HyperBus controller.
 

Detailed Description

HyperBus controller driver for the SF32LB MPI.

It calibrates the delay lines of the controller, turns the times the memory asks for into clock cycles, and maps the memory through the system bus alias of the controller's window. The bus runs at half the controller clock.


Data Structure Documentation

◆ pbl_hyperbus_sf32lb_mpi

struct pbl_hyperbus_sf32lb_mpi

SF32LB MPI HyperBus controller.

Data Fields
struct pbl_hyperbus bus Controller.
struct pbl_hyperbus_sf32lb_mpi_data * data Runtime data.
const struct pbl_sf32lb_mpi * mpi Core of the MPI.

Macro Definition Documentation

◆ PBL_HYPERBUS_SF32LB_MPI_DEFINE

#define PBL_HYPERBUS_SF32LB_MPI_DEFINE (   sym,
  _name,
  _mpi 
)
Value:
static struct pbl_hyperbus_sf32lb_mpi_data sym##_data; \
PBL_DEVICE_INSTANCE(sym, struct pbl_hyperbus_sf32lb_mpi, struct pbl_hyperbus, bus) { \
.bus = PBL_HYPERBUS_INIT(sym, _name, &(_mpi)->dev, &pbl_hyperbus_sf32lb_mpi_ops), \
.mpi = (_mpi), .data = &sym##_data, \
}
#define PBL_DEVICE_STATE_DEFINE(sym)
Define the runtime state of device instance sym.
Definition device.h:131
SF32LB MPI HyperBus controller.
Definition sf32lb_mpi.h:33
HyperBus controller.
Definition hyperbus.h:66
#define PBL_HYPERBUS_INIT(sym, _name, _parent, _ops)
Initializer for the struct pbl_hyperbus of controller sym.
Definition hyperbus.h:84

Define an SF32LB MPI HyperBus controller.

Parameters
symSymbol of the controller.
_nameName.
_mpiCore of the MPI, from PBL_SF32LB_MPI_DEFINE().