• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#===============================================================================
2# @brief    Kconfig file.
3# Copyright (c) 2020 HiSilicon (Shanghai) Technologies CO., LIMITED.
4#===============================================================================
5config UART0_BUS_ID
6    int
7    prompt "Choose UART0 bus id."
8    depends on SAMPLE_SUPPORT_UART
9    default 0
10
11config UART0_TXD_PIN
12    int
13    prompt "Choose UART0 TXD pin."
14    depends on SAMPLE_SUPPORT_UART
15    default 47
16
17config UART0_RXD_PIN
18    int
19    prompt "Choose UART0 RXD pin."
20    depends on SAMPLE_SUPPORT_UART
21    default 46
22
23config UART0_PIN_MODE
24    int
25    prompt "Choose UART0 pin mode."
26    depends on SAMPLE_SUPPORT_UART
27    default 1
28
29config UART_POLL_TRANSFER_MODE
30    bool
31    prompt "Choose UART poll transfer mode."
32    depends on SAMPLE_SUPPORT_UART
33    default y
34
35config UART_INT_TRANSFER_MODE
36    bool
37    prompt "Choose UART interrupt transfer mode."
38    depends on SAMPLE_SUPPORT_UART
39    default n
40
41config UART_DMA_TRANSFER_MODE
42    bool
43    prompt "Choose UART dma transfer mode."
44    depends on SAMPLE_SUPPORT_UART
45    default n