Loading...
Searching...
No Matches
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 59 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.
 

Field Documentation

◆ _pad1

const uint8_t msp430_usart_sfr_t::_pad1

Padding.

Definition at line 61 of file msp430_regs.h.

◆ _pad2

const uint8_t msp430_usart_sfr_t::_pad2

Padding.

Definition at line 63 of file msp430_regs.h.

◆ IE

REG8 msp430_usart_sfr_t::IE

USART Interrupt Enable Register.

Definition at line 60 of file msp430_regs.h.

◆ IFG

REG8 msp430_usart_sfr_t::IFG

USART Interrupt Flag Register.

Definition at line 62 of file msp430_regs.h.

◆ ME

REG8 msp430_usart_sfr_t::ME

Module Enable Register.

Definition at line 64 of file msp430_regs.h.


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