ChibiOS/RT Architecture - Reference Manual - Guides |
Generic Serial Driver configuration structure. More...
#include <serial_lld.h>
Data Fields | |
uint32_t | sc_speed |
Bit rate. | |
uint32_t | sc_mr |
Initialization value for the MR register. | |
uint16_t | sc_brr |
Initialization value for the BRR register. | |
uint8_t | sc_csrc |
Initialization value for the CSRC register. | |
uint32_t | sc_lcr |
Initialization value for the LCR register. | |
uint32_t | sc_fcr |
Initialization value for the FCR register. | |
uint16_t | sc_div |
Initialization value for the UBRx registers. | |
uint8_t | sc_mod |
Initialization value for the MOD register. | |
uint8_t | sc_ctl |
Initialization value for the CTL register. | |
uint8_t | sc_mode |
Mode flags. | |
uint16_t | sc_cr1 |
Initialization value for the CR1 register. | |
uint16_t | sc_cr2 |
Initialization value for the CR2 register. | |
uint16_t | sc_cr3 |
Initialization value for the CR3 register. |
Generic Serial Driver configuration structure.
STM32 Serial Driver configuration structure.
MSP430 Serial Driver configuration structure.
LPC214x Serial Driver configuration structure.
LPC13xx Serial Driver configuration structure.
LPC11xx Serial Driver configuration structure.
AVR Serial Driver configuration structure.
AT91SAM7 Serial Driver configuration structure.
An instance of this structure must be passed to sdStart()
in order to configure and start a serial driver operations.
An instance of this structure must be passed to sdStart()
in order to configure and start a serial driver operations.
Definition at line 69 of file templates/serial_lld.h.
Bit rate.
This is written to the US_BRGR register of the appropriate AT91S_USART
Definition at line 119 of file platforms/AT91SAM7/serial_lld.h.
Initialization value for the MR register.
This is written to the US_MR register of the appropriate AT91S_USART
Definition at line 124 of file platforms/AT91SAM7/serial_lld.h.
Initialization value for the BRR register.
Bit rate register.
Definition at line 88 of file platforms/AVR/serial_lld.h.
Initialization value for the CSRC register.
Definition at line 92 of file platforms/AVR/serial_lld.h.
Initialization value for the LCR register.
Definition at line 152 of file platforms/LPC11xx/serial_lld.h.
Initialization value for the FCR register.
Definition at line 156 of file platforms/LPC11xx/serial_lld.h.
Initialization value for the UBRx registers.
Definition at line 88 of file platforms/MSP430/serial_lld.h.
Initialization value for the MOD register.
Definition at line 92 of file platforms/MSP430/serial_lld.h.
Initialization value for the CTL register.
Definition at line 96 of file platforms/MSP430/serial_lld.h.
Mode flags.
Definition at line 117 of file platforms/SPC56x/serial_lld.h.
Initialization value for the CR1 register.
Definition at line 162 of file platforms/STM32/serial_lld.h.
Initialization value for the CR2 register.
Definition at line 166 of file platforms/STM32/serial_lld.h.
Initialization value for the CR3 register.
Definition at line 170 of file platforms/STM32/serial_lld.h.