BSP430  20141115
Board Support Package for MSP430 microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Data Fields
sBSP430hplHALStatePrefix Struct Reference

#include <bsp430/periph.h>

Data Fields

const unsigned char cflags
 
volatile unsigned char flags
 

Detailed Description

Common prefix for HAL state structures.

Each state structure for a HAL instance begins with a field of this type named hal_state.

Field Documentation

const unsigned char sBSP430hplHALStatePrefix::cflags

Immutable flags recording information about the HAL interface.

Information conveyed includes a selector for the underlying HPL structure type, and whether the HAL layer includes ISR support. See BSP430_PERIPH_HAL_STATE_CFLAGS_VARIANT.

volatile unsigned char sBSP430hplHALStatePrefix::flags

HAL-specific flags recording peripheral state

This primarily exists for alignment, though certain peripherals also support flags such as hints about how the peripheral is configured.


The documentation for this struct was generated from the following file: