Loading...
Searching...
No Matches
msp430_regs.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2015 Freie Universität Berlin
3 *
4 * This file is subject to the terms and conditions of the GNU Lesser
5 * General Public License v2.1. See the file LICENSE in the top level
6 * directory for more details.
7 */
8
23#ifndef X1XX_MSP430_REGS_H
24#define X1XX_MSP430_REGS_H
25
26#include <stdint.h>
27
28#include "msp430_regs_common.h"
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
47
59typedef struct {
61 const uint8_t _pad1;
63 const uint8_t _pad2;
66
76#define UXTCTL_SSEL_UCLKI 0
77#define UXTCTL_SSEL_ACLK SSEL0
78#define UXTCTL_SSEL_SMCLK SSEL1
79#define UXTCTL_SSEL_MASK (SSEL0 | SSEL1)
108#ifdef __cplusplus
109}
110#endif
111
112#endif /* X1XX_MSP430_REGS_H */
#define REG8
Register types.
Cortex CMSIS style definition of MSP430 registers.
USART Special Function Registers (SFR)
Definition msp430_regs.h:59
const uint8_t _pad2
Padding.
Definition msp430_regs.h:63
REG8 IE
USART Interrupt Enable Register.
Definition msp430_regs.h:60
const uint8_t _pad1
Padding.
Definition msp430_regs.h:61
REG8 ME
Module Enable Register.
Definition msp430_regs.h:64
REG8 IFG
USART Interrupt Flag Register.
Definition msp430_regs.h:62
USART (UART, SPI and I2C) Registers.
Definition msp430_regs.h:37
REG8 TCTL
transmit control
Definition msp430_regs.h:39
REG8 RXBUF
receive buffer
Definition msp430_regs.h:44
REG8 CTL
USART control.
Definition msp430_regs.h:38
REG8 BR0
baud rate control 0
Definition msp430_regs.h:42
REG8 TXBUF
transmit buffer
Definition msp430_regs.h:45
REG8 MCTL
modulation control
Definition msp430_regs.h:41
REG8 RCTL
receive control
Definition msp430_regs.h:40
REG8 BR1
baud rate control 1
Definition msp430_regs.h:43
msp430_usart_sfr_t USART_1_SFR
USART 1 SFR register map.
msp430_usart_t USART_1
USART 1 register map.
msp430_usart_t USART_0
USART 0 register map.
msp430_usart_sfr_t USART_0_SFR
USART 0 SFR register map.