STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
board_devbus.h
Go to the documentation of this file.
1#ifndef STAR_BOARD_DEVBUS_H
2#define STAR_BOARD_DEVBUS_H
3
4/*
5 * Binds a portable driver's dev_bus_t to one chip on board_spi: each xfer is
6 * one locked chip-select frame with a BOARD_DEVBUS_FRAME_MS deadline, and
7 * delay_ms is osDelay (>= ms, see board_devbus.c).
8 */
9
10#include "board_spi.h"
11#include "dev_bus.h"
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17#define BOARD_DEVBUS_FRAME_MS 5U
18
20
21#ifdef __cplusplus
22}
23#endif
24#endif
dev_bus_t board_devbus(board_spi_device_t device)
board_spi_device_t
Definition board_spi.h:26