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

#include <bsp430/periph/port.h>

Data Fields

unsigned int w
 
unsigned char b [2]
 
struct {
   unsigned char   l
 
   unsigned char   h
 
}; 
 

Detailed Description

Helper for accessing 8-bit registers within 16-bit registers

Field Documentation

unsigned char uBSP430hplPORT_16::b[2]

Byte access, indexed

unsigned char uBSP430hplPORT_16::h

High byte access for even members of pair (e.g., P2IN)

unsigned char uBSP430hplPORT_16::l

Low byte access for odd members of pair (e.g., P1IN)

unsigned int uBSP430hplPORT_16::w

Word access (e.g., PAIN)


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