![]() |
ARMEBS4
revision-26.06.2015
|
Bus handler. More...
#include "C:/Programs/ARMEBS4/current/doc/eclipse-doc/ext/libheivs_stm32/include/heivs/bus.h"
Data Fields | |
struct heivs_bus_var_t * | var |
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) |
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 void* heivs_bus_t::priv |
status_e(* heivs_bus_t::_init) (const struct heivs_bus_t *) |
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 *) |
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
Definition at line 132 of file bus.h.
Referenced by bus_read().