msp430_usart_sfr_t Struct Reference

USART Special Function Registers (SFR) More...

Detailed Description

USART Special Function Registers (SFR)

Despite being part of the USART peripheral, the SFR registers location is completely different. Even more confusing, the IE register of USART 1 follows the IE register of USART 0. Hence, the SFR register map of the two USART peripherals will overlap (with the IE register of the second USART being located at the first padding of the first USART). The padding bytes are intentionally declared as const to aid in preventing accidentally overwriting registers of the other USART's SFR registers.

Definition at line 70 of file msp430_regs.h.

#include <msp430_regs.h>

Data Fields

REG8 IE
 USART Interrupt Enable Register.
 
const uint8_t _pad1
 Padding.
 
REG8 IFG
 USART Interrupt Flag Register.
 
const uint8_t _pad2
 Padding.
 
REG8 ME
 Module Enable Register.
 

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