23 lines
638 B
C
23 lines
638 B
C
/**
|
|
* @file di_fw/board.h
|
|
* @brief Board and device related helpers
|
|
* @date May 3, 2017
|
|
* @author J.J.J. Jacobs
|
|
* @copyright 2017 Dual Inventive Technology Centre B.V.
|
|
*/
|
|
#ifndef INCLUDE_DI_FW_BOARD_H_
|
|
#define INCLUDE_DI_FW_BOARD_H_
|
|
|
|
#include <di/types.h>
|
|
|
|
/**
|
|
* Initialize the board
|
|
* * Set device type (di_device_set_type) from DI_FW_BOARD_DEVICE_TYPE
|
|
* * Set device board revision (di_device_set_board_revision) from DI_FW_BOARD_REV_(PORT,MASK,SHIFT)
|
|
* * Set device uid (di_device_uid_set) from chip unique ID (di_fw/uid.h)
|
|
* * Initialize di_device_init
|
|
*/
|
|
void di_fw_board_init(void);
|
|
|
|
#endif /* INCLUDE_DI_FW_BOARD_H_ */
|