⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 io_serial.h

📁 ecos为实时嵌入式操作系统
💻 H
📖 第 1 页 / 共 3 页
字号:
   }}CFG_DATA */#undef  CYGPKG_IO_SERIAL_SPARCLITE_SLEB#undef  CYGPKG_IO_SERIAL_SPARCLITE_SLEB_CON1#define CYGDAT_IO_SERIAL_SPARCLITE_SLEB_CON1_NAME "/dev/ser0"#define CYGNUM_IO_SERIAL_SPARCLITE_SLEB_CON1_BAUD 19200#define CYGNUM_IO_SERIAL_SPARCLITE_SLEB_CON1_BUFSIZE 128#undef  CYGPKG_IO_SERIAL_SPARCLITE_SLEB_CON2#define CYGDAT_IO_SERIAL_SPARCLITE_SLEB_CON2_NAME "/dev/ser1"#define CYGNUM_IO_SERIAL_SPARCLITE_SLEB_CON2_BAUD 19200#define CYGNUM_IO_SERIAL_SPARCLITE_SLEB_CON2_BUFSIZE 128/* ----------------------------------------------------------------------------   {{CFG_DATA   cdl_component CYGPKG_IO_SERIAL_TX39_JMR3904 {       display "TX39 JMR3904 serial device drivers"       type    bool       requires CYGPKG_IO_SERIAL#       parent CYGPKG_IO_SERIAL       parent CYGPKG_HAL_TX39_JMR3904       description "           This option enables the serial device drivers for the TX39 JMR3904."           doc ref/ecos-ref/ecos-device-drivers.html   }   cdl_component CYGPKG_IO_SERIAL_TX39_JMR3904_POLLED_MODE {       display "TX39 JMR3904 polled mode serial drivers"       type    bool       requires CYGPKG_IO_SERIAL       parent CYGPKG_IO_SERIAL_TX39_JMR3904       description "           If asserted, this option specifies that the serial device drivers for            the TX39 JMR3904 should be polled-mode instead of interrupt driven."           doc ref/ecos-ref/ecos-device-drivers.html   }   cdl_component CYGPKG_IO_SERIAL_TX39_JMR3904_SERIAL0 {       display "TX39 JMR3904 serial port 0 driver"       type    bool       requires CYGPKG_IO_SERIAL       parent CYGPKG_IO_SERIAL_TX39_JMR3904       description "           This option includes the serial device driver for port 0 on the TX39 JMR3904."           doc ref/ecos-ref/ecos-device-drivers.html   }   cdl_option CYGDAT_IO_SERIAL_TX39_JMR3904_SERIAL0_NAME {       display "Device name for TX39 JMR3904 serial port 0"       type    string       requires CYGPKG_IO_SERIAL       parent CYGPKG_IO_SERIAL_TX39_JMR3904_SERIAL0       description "           This option specifies the device name port 0 on the TX39 JMR3904."           doc ref/ecos-ref/ecos-device-drivers.html   }   cdl_option CYGNUM_IO_SERIAL_TX39_JMR3904_SERIAL0_BAUD {       display "Baud rate for the TX39 JMR3904 serial port 0 driver"       type    enum       legal_values 50 75 110 134_5 150 200 300 600 1200 1800 2400 3600 4800 7200 9600 14400 19200 38400 57600 115200 234000       parent CYGPKG_IO_SERIAL_TX39_JMR3904_SERIAL0       description "           This option specifies the default baud rate (speed) for the TX39 JMR3904 port 0."           doc ref/ecos-ref/ecos-device-drivers.html   }   cdl_option CYGNUM_IO_SERIAL_TX39_JMR3904_SERIAL0_BUFSIZE {       display "Buffer size for the TX39 JMR3904 serial port 0 driver"       type    count       legal_values 0 to 8192       parent CYGPKG_IO_SERIAL_TX39_JMR3904_SERIAL0       description "           This option specifies the size of the internal buffers used for the TX39 JMR3904 port 0."           doc ref/ecos-ref/ecos-device-drivers.html   }   cdl_component CYGPKG_IO_SERIAL_TX39_JMR3904_SERIAL1 {       display "TX39 JMR3904 serial port 1 driver"       type    bool       requires CYGPKG_IO_SERIAL       parent CYGPKG_IO_SERIAL_TX39_JMR3904       description "           This option includes the serial device driver for port 1 on the TX39 JMR3904."           doc ref/ecos-ref/ecos-device-drivers.html   }   cdl_option CYGDAT_IO_SERIAL_TX39_JMR3904_SERIAL1_NAME {       display "Device name for TX39 JMR3904 serial port 1"       type    string       requires CYGPKG_IO_SERIAL       parent CYGPKG_IO_SERIAL_TX39_JMR3904_SERIAL1       description "           This option specifies the device name port 1 on the TX39 JMR3904."           doc ref/ecos-ref/ecos-device-drivers.html   }   cdl_option CYGNUM_IO_SERIAL_TX39_JMR3904_SERIAL1_BAUD {       display "Baud rate for the TX39 JMR3904 serial port 1 driver"       type    enum       legal_values 50 75 110 134_5 150 200 300 600 1200 1800 2400 3600 4800 7200 9600 14400 19200 38400 57600 115200 234000       parent CYGPKG_IO_SERIAL_TX39_JMR3904_SERIAL1       description "           This option specifies the default baud rate (speed) for the TX39 JMR3904 port 1."           doc ref/ecos-ref/ecos-device-drivers.html   }   cdl_option CYGNUM_IO_SERIAL_TX39_JMR3904_SERIAL1_BUFSIZE {       display "Buffer size for the TX39 JMR3904 serial port 1 driver"       type    count       legal_values 0 to 8192       parent CYGPKG_IO_SERIAL_TX39_JMR3904_SERIAL1       description "           This option specifies the size of the internal buffers used for the TX39 JMR3904 port 1."           doc ref/ecos-ref/ecos-device-drivers.html   }   }}CFG_DATA */#undef  CYGPKG_IO_SERIAL_TX39_JMR3904#undef  CYGPKG_IO_SERIAL_TX39_JMR3904_POLLED_MODE#undef  CYGPKG_IO_SERIAL_TX39_JMR3904_SERIAL0#define CYGDAT_IO_SERIAL_TX39_JMR3904_SERIAL0_NAME "/dev/ser1"#define CYGNUM_IO_SERIAL_TX39_JMR3904_SERIAL0_BAUD 38400#define CYGNUM_IO_SERIAL_TX39_JMR3904_SERIAL0_BUFSIZE 128#undef  CYGPKG_IO_SERIAL_TX39_JMR3904_SERIAL1#define CYGDAT_IO_SERIAL_TX39_JMR3904_SERIAL1_NAME "/dev/ser2"#define CYGNUM_IO_SERIAL_TX39_JMR3904_SERIAL1_BAUD 38400#define CYGNUM_IO_SERIAL_TX39_JMR3904_SERIAL1_BUFSIZE 128// Note: this is not currently tied to a specific board since the ports are "on chip"/* ----------------------------------------------------------------------------   {{CFG_DATA   cdl_component CYGPKG_IO_SERIAL_MN10300 {       display "MN10300 serial device drivers"       type    bool       requires CYGPKG_IO_SERIAL#       parent CYGPKG_IO_SERIAL       parent CYGPKG_HAL_MN10300       description "           This option enables the serial device drivers for the MN10300."           doc ref/ecos-ref/ecos-device-drivers.html   }   cdl_component CYGPKG_IO_SERIAL_MN10300_POLLED_MODE {       display "MN10300 polled mode serial drivers"       type    bool       requires CYGPKG_IO_SERIAL       parent CYGPKG_IO_SERIAL_MN10300       description "           If asserted, this option specifies that the serial device drivers for            the MN10300 should be polled-mode instead of interrupt driven."           doc ref/ecos-ref/ecos-device-drivers.html   }   cdl_component CYGPKG_IO_SERIAL_MN10300_SERIAL0 {       display "MN10300 serial port 0 driver"       type    bool       requires CYGPKG_IO_SERIAL       parent CYGPKG_IO_SERIAL_MN10300       description "           This option includes the serial device driver for port 0 on the MN10300."           doc ref/ecos-ref/ecos-device-drivers.html   }   cdl_option CYGDAT_IO_SERIAL_MN10300_SERIAL0_NAME {       display "Device name for MN10300 serial port 0"       type    string       requires CYGPKG_IO_SERIAL       parent CYGPKG_IO_SERIAL_MN10300_SERIAL0       description "           This option specifies the device name port 0 on the MN10300."           doc ref/ecos-ref/ecos-device-drivers.html   }   cdl_option CYGNUM_IO_SERIAL_MN10300_SERIAL0_BAUD {       display "Baud rate for the MN10300 serial port 0 driver"       type    enum       legal_values 50 75 110 134_5 150 200 300 600 1200 1800 2400 3600 4800 7200 9600 14400 19200 38400 57600 115200 234000       parent CYGPKG_IO_SERIAL_MN10300_SERIAL0       description "           This option specifies the default baud rate (speed) for the MN10300 port 0."           doc ref/ecos-ref/ecos-device-drivers.html   }   cdl_option CYGNUM_IO_SERIAL_MN10300_SERIAL0_BUFSIZE {       display "Buffer size for the MN10300 serial port 0 driver"       type    count       legal_values 0 to 8192       parent CYGPKG_IO_SERIAL_MN10300_SERIAL0       description "           This option specifies the size of the internal buffers used for the MN10300 port 0."           doc ref/ecos-ref/ecos-device-drivers.html   }   cdl_component CYGPKG_IO_SERIAL_MN10300_SERIAL1 {       display "MN10300 serial port 1 driver"       type    bool       requires CYGPKG_IO_SERIAL       parent CYGPKG_IO_SERIAL_MN10300       description "           This option includes the serial device driver for port 1 on the MN10300."           doc ref/ecos-ref/ecos-device-drivers.html   }   cdl_option CYGDAT_IO_SERIAL_MN10300_SERIAL1_NAME {       display "Device name for MN10300 serial port 1"       type    string       requires CYGPKG_IO_SERIAL       parent CYGPKG_IO_SERIAL_MN10300_SERIAL1       description "           This option specifies the device name port 1 on the MN10300."           doc ref/ecos-ref/ecos-device-drivers.html   }   cdl_option CYGNUM_IO_SERIAL_MN10300_SERIAL1_BAUD {       display "Baud rate for the MN10300 serial port 1 driver"       type    enum       legal_values 50 75 110 134_5 150 200 300 600 1200 1800 2400 3600 4800 7200 9600 14400 19200 38400 57600 115200 234000       parent CYGPKG_IO_SERIAL_MN10300_SERIAL1       description "           This option specifies the default baud rate (speed) for the MN10300 port 1."           doc ref/ecos-ref/ecos-device-drivers.html   }   cdl_option CYGNUM_IO_SERIAL_MN10300_SERIAL1_BUFSIZE {       display "Buffer size for the MN10300 serial port 1 driver"       type    count       legal_values 0 to 8192       parent CYGPKG_IO_SERIAL_MN10300_SERIAL1       description "           This option specifies the size of the internal buffers used for the MN10300 port 1."           doc ref/ecos-ref/ecos-device-drivers.html   }   cdl_component CYGPKG_IO_SERIAL_MN10300_SERIAL2 {       display "MN10300 serial port 2 driver"       type    bool       requires CYGPKG_IO_SERIAL       parent CYGPKG_IO_SERIAL_MN10300       description "           This option includes the serial device driver for port 2 on the MN10300."           doc ref/ecos-ref/ecos-device-drivers.html   }   cdl_option CYGDAT_IO_SERIAL_MN10300_SERIAL2_NAME {       display "Device name for MN10300 serial port 2"       type    string       requires CYGPKG_IO_SERIAL       parent CYGPKG_IO_SERIAL_MN10300_SERIAL2       description "           This option specifies the device name port 2 on the MN10300."           doc ref/ecos-ref/ecos-device-drivers.html   }   cdl_option CYGNUM_IO_SERIAL_MN10300_SERIAL2_BAUD {       display "Baud rate for the MN10300 serial port 2 driver"       type    enum       legal_values 50 75 110 134_5 150 200 300 600 1200 1800 2400 3600 4800 7200 9600 14400 19200 38400 57600 115200 234000       parent CYGPKG_IO_SERIAL_MN10300_SERIAL2       description "           This option specifies the default baud rate (speed) for the MN10300 port 2."           doc ref/ecos-ref/ecos-device-drivers.html   }   cdl_option CYGNUM_IO_SERIAL_MN10300_SERIAL2_BUFSIZE {       display "Buffer size for the MN10300 serial port 2 driver"       type    count       legal_values 0 to 8192       parent CYGPKG_IO_SERIAL_MN10300_SERIAL2       description "           This option specifies the size of the internal buffers used for the MN10300 port 2."           doc ref/ecos-ref/ecos-device-drivers.html   }   }}CFG_DATA */#undef  CYGPKG_IO_SERIAL_MN10300#undef  CYGPKG_IO_SERIAL_MN10300_POLLED_MODE#undef  CYGPKG_IO_SERIAL_MN10300_SERIAL0#define CYGDAT_IO_SERIAL_MN10300_SERIAL0_NAME "/dev/ser0"#define CYGNUM_IO_SERIAL_MN10300_SERIAL0_BAUD 38400#define CYGNUM_IO_SERIAL_MN10300_SERIAL0_BUFSIZE 128#undef  CYGPKG_IO_SERIAL_MN10300_SERIAL1#define CYGDAT_IO_SERIAL_MN10300_SERIAL1_NAME "/dev/ser1"#define CYGNUM_IO_SERIAL_MN10300_SERIAL1_BAUD 38400#define CYGNUM_IO_SERIAL_MN10300_SERIAL1_BUFSIZE 128#undef  CYGPKG_IO_SERIAL_MN10300_SERIAL2#define CYGDAT_IO_SERIAL_MN10300_SERIAL2_NAME "/dev/ser2"#define CYGNUM_IO_SERIAL_MN10300_SERIAL2_BAUD 38400#define CYGNUM_IO_SERIAL_MN10300_SERIAL2_BUFSIZE 128#endif  /* CYGONCE_PKGCONF_IO_SERIAL_H *//* EOF io_serial.h */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -