nuttx/arch/arm/src
Nathan Hartman 8b2c8c73e8 arch/tiva: Serial TIOCxBRK BSD-compatible BREAK support
In the lower half UART driver for Tiva architecture (TM4C12x), adding
the TIOCxBRK ioctl calls, which allow an application to transmit a BSD
compatible line BREAK. TIOCSBRK starts the BREAK and TIOCCBRK ends it.

This architecture supports BSD-style BREAK in hardware. We write to
the BRK bit (bit 0) of the UART Line Control register (UARTLCRH) to
start the BREAK, which begins after the UART finishes shifting out the
current character in progress, if any, including its stop bit(s), and
continues indefinitely until we write to the BRK bit again to stop the
BREAK.

* arch/arm/src/tiva/Kconfig
  (config TIVA_UART_BREAKS): New. Appears as CONFIG_TIVA_UART_BREAKS
   in code.

* arch/arm/src/tiva/common/tiva_serial.c
  (struct up_dev_s): Add new field 'brk' to indicate line break in
   progress when built with CONFIG_TIVA_UART_BREAKS.
  (up_ioctl): Add cases for TIOCSBRK to turn BSD-compatible break on
   unconditionally and TIOCCBRK to turn break off unconditionally.
  (up_txint): Block enabling TX interrupt if line break in progress.
   This is similar to the STM32F7 implementation.
2023-02-08 23:55:28 +08:00
..
a1x drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
am335x drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
arm arch/arm: move hard code macro to kconfig 2023-01-16 13:31:04 +08:00
armv6-m tools: Make zig available for arm/riscv/sim 2023-02-01 11:12:44 +08:00
armv7-a sched/addrenv: Remove up_addrenv_restore 2023-02-08 02:51:23 +08:00
armv7-m tools: Make zig available for arm/riscv/sim 2023-02-01 11:12:44 +08:00
armv7-r group/group_addrenv: Move address environment from group -> tcb 2023-02-08 02:51:23 +08:00
armv8-m tools: Make zig available for arm/riscv/sim 2023-02-01 11:12:44 +08:00
c5471 drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
common sched/addrenv: Remove up_addrenv_restore 2023-02-08 02:51:23 +08:00
cxd56xx drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
dm320 drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
efm32 Serial: Fix wrong identifier name in comments 2023-02-02 09:42:34 +08:00
eoss3 drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
gd32f4 drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
imx1 drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
imx6 drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
imxrt drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
kinetis drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
kl drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
lc823450 drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
lpc17xx_40xx drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
lpc31xx drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
lpc43xx serial: Fix typo in comments (s/besued/because/) 2023-02-08 10:05:27 +08:00
lpc54xx drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
lpc214x drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
lpc2378 drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
max326xx drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
moxart arch: move non arm g_current_regs defintion to common place 2022-09-21 22:23:11 +02:00
nrf52 drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
nrf53 drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
nuc1xx drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
phy62xx drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
rp2040 drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
rtl8720c drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
s32k1xx drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
s32k3xx drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
sam34 drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
sama5 drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
samd2l2 drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
samd5e5 drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
samv7 drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
stm32 drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
stm32f0l0g0 drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
stm32f7 drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
stm32h7 drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
stm32l4 drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
stm32l5 drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
stm32u5 drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
stm32wb drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
stm32wl5 drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
str71x drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
tiva arch/tiva: Serial TIOCxBRK BSD-compatible BREAK support 2023-02-08 23:55:28 +08:00
tlsr82 drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
tms570 arch: move non arm g_current_regs defintion to common place 2022-09-21 22:23:11 +02:00
xmc4 drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
.gitignore
Makefile tools: add separate flags parameter for COMPILE/COMPILEXX 2023-01-31 13:42:33 +08:00