ARMEBS4  revision-26.06.2015
Data Fields
heivs_bus_t Struct Reference

Bus handler. More...

#include "C:/Programs/ARMEBS4/current/doc/eclipse-doc/ext/libheivs_stm32/include/heivs/bus.h"

Collaboration diagram for heivs_bus_t:
Collaboration graph

Data Fields

struct heivs_bus_var_tvar
 
const char * name
 
const void * priv
 
status_e(* _init )(const struct heivs_bus_t *)
 
status_e(* _suspend )(const struct heivs_bus_t *)
 
status_e(* _resume )(const struct heivs_bus_t *)
 
status_e(* _read )(const struct heivs_bus_t *, uint32_t address, uint8_t *data, size_t len, size_t *rlen)
 

Detailed Description

Bus handler.

Definition at line 92 of file bus.h.

Field Documentation

struct heivs_bus_var_t* heivs_bus_t::var

Current state of the bus

Definition at line 97 of file bus.h.

Referenced by bus_get(), bus_init(), bus_release(), bus_resume(), and bus_suspend().

const char* heivs_bus_t::name

Bus name

Definition at line 102 of file bus.h.

const void* heivs_bus_t::priv

private data for the underlying driver

Definition at line 107 of file bus.h.

status_e(* heivs_bus_t::_init) (const struct heivs_bus_t *)

Init

Definition at line 112 of file bus.h.

Referenced by bus_init().

status_e(* heivs_bus_t::_suspend) (const struct heivs_bus_t *)

Suspend (disable the bus controller, put all used IOs to zero)

Definition at line 117 of file bus.h.

Referenced by bus_suspend().

status_e(* heivs_bus_t::_resume) (const struct heivs_bus_t *)

Resume

Definition at line 122 of file bus.h.

Referenced by bus_resume().

status_e(* heivs_bus_t::_read) (const struct heivs_bus_t *, uint32_t address, uint8_t *data, size_t len, size_t *rlen)

Read/write/readwrite

BUS must be get before and released after

See also
bus_get
bus_release

Definition at line 132 of file bus.h.

Referenced by bus_read().