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

#include <bsp430/periph/port.h>

Data Fields

unsigned char in
unsigned char _reserved_x01
unsigned char out
unsigned char _reserved_x03
unsigned char dir
unsigned char _reserved_x05
unsigned char ren
unsigned char _reserved_x07
unsigned char ds
unsigned char _reserved_x09
union {
   unsigned char   sel
   unsigned char   sel0
unsigned char _reserved_x0B
unsigned char sel1
unsigned char _reserved_x0D
unsigned char _reserved_x0E
unsigned char _reserved_x0F
unsigned char _reserved_x10
unsigned char _reserved_x11
unsigned char _reserved_x12
unsigned char _reserved_x13
unsigned char _reserved_x14
unsigned char _reserved_x15
unsigned char selc
unsigned char _reserved_x17
unsigned char ies
unsigned char _reserved_x19
unsigned char ie
unsigned char _reserved_x1B
unsigned char ifg

Detailed Description

Layout for 5xx family ports, 8-bit access

This structure includes the necessary padding to maintain alignment when referencing the second 8-bit register in a 16-bit bank.

Field Documentation

unsigned char sBSP430hplPORT_5XX_8::dir

PxDIR (set for output)

unsigned char sBSP430hplPORT_5XX_8::ds

PxDS (drive select, some devices)

unsigned char sBSP430hplPORT_5XX_8::ie


unsigned char sBSP430hplPORT_5XX_8::ies


unsigned char sBSP430hplPORT_5XX_8::ifg


unsigned char sBSP430hplPORT_5XX_8::in


unsigned char sBSP430hplPORT_5XX_8::out


unsigned char sBSP430hplPORT_5XX_8::ren

PxREN (set to enable)

unsigned char sBSP430hplPORT_5XX_8::sel

PxSEL (non-FR5xx devices)

unsigned char sBSP430hplPORT_5XX_8::sel0

PxSEL0 (FR5xx devices)

unsigned char sBSP430hplPORT_5XX_8::sel1

PxSEL1 (secondary/tertiary function, FR5xx devices only)

unsigned char sBSP430hplPORT_5XX_8::selc

PxSELC (support atomic transition to tertiary function, FR5xx devices only)

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