uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
UART1_RS485_CTRLCFG_Type Struct Reference

UART1 Full modem - RS485 Control configuration type. More...

#include <lpc17xx_uart.h>

Public Attributes

FunctionalState NormalMultiDropMode_State
 
FunctionalState Rx_State
 
FunctionalState AutoAddrDetect_State
 
FunctionalState AutoDirCtrl_State
 
UART_RS485_DIRCTRL_PIN_Type DirCtrlPin
 
SetState DirCtrlPol_Level
 
uint8_t MatchAddrValue
 
uint8_t DelayValue
 

Detailed Description

UART1 Full modem - RS485 Control configuration type.

Definition at line 544 of file lpc17xx_uart.h.

Member Data Documentation

FunctionalState UART1_RS485_CTRLCFG_Type::AutoAddrDetect_State
 Auto Address Detect mode state:
  • ENABLE: ENABLE this function.
  • DISABLE: Disable this function.

Definition at line 551 of file lpc17xx_uart.h.

FunctionalState UART1_RS485_CTRLCFG_Type::AutoDirCtrl_State
 Auto Direction Control State:
  • ENABLE: Enable this function.
  • DISABLE: Disable this function.

Definition at line 554 of file lpc17xx_uart.h.

uint8_t UART1_RS485_CTRLCFG_Type::DelayValue

delay time is in periods of the baud clock, 8-bit long

Definition at line 569 of file lpc17xx_uart.h.

UART_RS485_DIRCTRL_PIN_Type UART1_RS485_CTRLCFG_Type::DirCtrlPin
 If direction control is enabled, state:
  • UART1_RS485_DIRCTRL_RTS: pin RTS is used for direction control.
  • UART1_RS485_DIRCTRL_DTR: pin DTR is used for direction control.

Definition at line 557 of file lpc17xx_uart.h.

SetState UART1_RS485_CTRLCFG_Type::DirCtrlPol_Level
 Polarity of the direction control signal on

the RTS (or DTR) pin:

  • RESET: The direction control pin will be driven to logic "0" when the transmitter has data to be sent.
  • SET: The direction control pin will be driven to logic "1" when the transmitter has data to be sent.

Definition at line 562 of file lpc17xx_uart.h.

uint8_t UART1_RS485_CTRLCFG_Type::MatchAddrValue

address match value for RS-485/EIA-485 mode, 8-bit long

Definition at line 568 of file lpc17xx_uart.h.

FunctionalState UART1_RS485_CTRLCFG_Type::NormalMultiDropMode_State

Normal MultiDrop mode State:

  • ENABLE: Enable this function.
  • DISABLE: Disable this function.

Definition at line 545 of file lpc17xx_uart.h.

FunctionalState UART1_RS485_CTRLCFG_Type::Rx_State

Receiver State:

  • ENABLE: Enable Receiver.
  • DISABLE: Disable Receiver.

Definition at line 548 of file lpc17xx_uart.h.


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