Wirepas SDK
bl_hardware.h File Reference

Go to the source code of this file.

Functions

const hardware_capabilities_thardware_getCapabilities (void)
 Returns board hardware capabilities.
 

Data Structures

union  platform_t
 Platform specific descriptions. More...
 
struct  hardware_capabilities_t
 Hardware features that can be installed on a board. More...
 

Function Documentation

◆ hardware_getCapabilities()

const hardware_capabilities_t * hardware_getCapabilities ( void  )

Returns board hardware capabilities.

Returns
Return a structure bl_hardware_capabilities_t with hardware features installed on the board.
Note
There is no need to define this function, it is integrated in the SDK and is controlled from each board/<board_name>/config.mk.

Data Structure Documentation

◆ platform_t

union platform_t

Platform specific descriptions.

Definition at line 70 of file bl_hardware.h.

◆ hardware_capabilities_t

struct hardware_capabilities_t

Hardware features that can be installed on a board.

Definition at line 96 of file bl_hardware.h.

Data Fields
bool crystal_32k

True if 32kHz crystal is present; default:true (introduced in bootloader v7).

bool dcdc

True if DCDC converter is enabled; default:true (introduced in bootloader v7).

platform_t platform

Platform specific descriptions (introduced in bootloader v8).