test

Fork of nrf51-sdk by Lancaster University

Embed: (wiki syntax)

« Back to documentation index

NRF_UART_Type Struct Reference

NRF_UART_Type Struct Reference
[Device_Peripheral_Registers]

Universal Asynchronous Receiver/Transmitter. More...

#include <nrf51.h>

Data Fields

__O uint32_t TASKS_STARTRX
__O uint32_t TASKS_STOPRX
__O uint32_t TASKS_STARTTX
__O uint32_t TASKS_STOPTX
__O uint32_t TASKS_SUSPEND
__IO uint32_t EVENTS_CTS
__IO uint32_t EVENTS_NCTS
__IO uint32_t EVENTS_RXDRDY
__IO uint32_t EVENTS_TXDRDY
__IO uint32_t EVENTS_ERROR
__IO uint32_t EVENTS_RXTO
__IO uint32_t SHORTS
__IO uint32_t INTENSET
__IO uint32_t INTENCLR
__IO uint32_t ERRORSRC
__IO uint32_t ENABLE
__IO uint32_t PSELRTS
__IO uint32_t PSELTXD
__IO uint32_t PSELCTS
__IO uint32_t PSELRXD
__I uint32_t RXD
__O uint32_t TXD
__IO uint32_t BAUDRATE
__IO uint32_t CONFIG
__IO uint32_t POWER

Detailed Description

Universal Asynchronous Receiver/Transmitter.

(UART)

Definition at line 378 of file nrf51.h.


Field Documentation

__IO uint32_t BAUDRATE

UART Baudrate.

Definition at line 414 of file nrf51.h.

__IO uint32_t CONFIG

Configuration of parity and hardware flow control register.

Definition at line 416 of file nrf51.h.

__IO uint32_t ENABLE

Enable UART and acquire IOs.

Definition at line 403 of file nrf51.h.

__IO uint32_t ERRORSRC

Error source. Write error field to 1 to clear error.

Definition at line 401 of file nrf51.h.

__IO uint32_t EVENTS_CTS

CTS activated.

Definition at line 386 of file nrf51.h.

__IO uint32_t EVENTS_ERROR

Error detected.

Definition at line 392 of file nrf51.h.

__IO uint32_t EVENTS_NCTS

CTS deactivated.

Definition at line 387 of file nrf51.h.

__IO uint32_t EVENTS_RXDRDY

Data received in RXD.

Definition at line 388 of file nrf51.h.

__IO uint32_t EVENTS_RXTO

Receiver timeout.

Definition at line 394 of file nrf51.h.

__IO uint32_t EVENTS_TXDRDY

Data sent from TXD.

Definition at line 390 of file nrf51.h.

__IO uint32_t INTENCLR

Interrupt enable clear register.

Definition at line 399 of file nrf51.h.

__IO uint32_t INTENSET

Interrupt enable set register.

Definition at line 398 of file nrf51.h.

__IO uint32_t POWER

Peripheral power control.

Definition at line 418 of file nrf51.h.

__IO uint32_t PSELCTS

Pin select for CTS.

Definition at line 407 of file nrf51.h.

__IO uint32_t PSELRTS

Pin select for RTS.

Definition at line 405 of file nrf51.h.

__IO uint32_t PSELRXD

Pin select for RXD.

Definition at line 408 of file nrf51.h.

__IO uint32_t PSELTXD

Pin select for TXD.

Definition at line 406 of file nrf51.h.

__I uint32_t RXD

RXD register. On read action the buffer pointer is displaced. Once read the character is consumed. If read when no character available, the UART will stop working.

Definition at line 409 of file nrf51.h.

__IO uint32_t SHORTS

Shortcuts for UART.

Definition at line 396 of file nrf51.h.

__O uint32_t TASKS_STARTRX

< UART Structure Start UART receiver.

Definition at line 379 of file nrf51.h.

__O uint32_t TASKS_STARTTX

Start UART transmitter.

Definition at line 381 of file nrf51.h.

__O uint32_t TASKS_STOPRX

Stop UART receiver.

Definition at line 380 of file nrf51.h.

__O uint32_t TASKS_STOPTX

Stop UART transmitter.

Definition at line 382 of file nrf51.h.

__O uint32_t TASKS_SUSPEND

Suspend UART.

Definition at line 384 of file nrf51.h.

__O uint32_t TXD

TXD register.

Definition at line 412 of file nrf51.h.