OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [devs/] [serial/] [mcf52xx/] [mcf5272/] [v2_0/] [cdl/] [ser_mcf5272_uart.cdl] - Diff between revs 27 and 174

Only display areas with differences | Details | Blame | View Log

Rev 27 Rev 174
# ====================================================================
# ====================================================================
#
#
#      ser_MCF5272_uart.cdl
#      ser_MCF5272_uart.cdl
#
#
#      eCos serial driver for MCF5272 UART
#      eCos serial driver for MCF5272 UART
#
#
# ====================================================================
# ====================================================================
#####ECOSGPLCOPYRIGHTBEGIN####
#####ECOSGPLCOPYRIGHTBEGIN####
## -------------------------------------------
## -------------------------------------------
## This file is part of eCos, the Embedded Configurable Operating System.
## This file is part of eCos, the Embedded Configurable Operating System.
## Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
## Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
##
##
## eCos is free software; you can redistribute it and/or modify it under
## eCos is free software; you can redistribute it and/or modify it under
## the terms of the GNU General Public License as published by the Free
## the terms of the GNU General Public License as published by the Free
## Software Foundation; either version 2 or (at your option) any later version.
## Software Foundation; either version 2 or (at your option) any later version.
##
##
## eCos is distributed in the hope that it will be useful, but WITHOUT ANY
## eCos is distributed in the hope that it will be useful, but WITHOUT ANY
## WARRANTY; without even the implied warranty of MERCHANTABILITY or
## WARRANTY; without even the implied warranty of MERCHANTABILITY or
## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
## for more details.
## for more details.
##
##
## You should have received a copy of the GNU General Public License along
## You should have received a copy of the GNU General Public License along
## with eCos; if not, write to the Free Software Foundation, Inc.,
## with eCos; if not, write to the Free Software Foundation, Inc.,
## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
##
##
## As a special exception, if other files instantiate templates or use macros
## As a special exception, if other files instantiate templates or use macros
## or inline functions from this file, or you compile this file and link it
## or inline functions from this file, or you compile this file and link it
## with other works to produce a work based on this file, this file does not
## with other works to produce a work based on this file, this file does not
## by itself cause the resulting work to be covered by the GNU General Public
## by itself cause the resulting work to be covered by the GNU General Public
## License. However the source code for this file must still be made available
## License. However the source code for this file must still be made available
## in accordance with section (3) of the GNU General Public License.
## in accordance with section (3) of the GNU General Public License.
##
##
## This exception does not invalidate any other reasons why a work based on
## This exception does not invalidate any other reasons why a work based on
## this file might be covered by the GNU General Public License.
## this file might be covered by the GNU General Public License.
##
##
## Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
## Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
## at http://sources.redhat.com/ecos/ecos-license/
## at http://sources.redhat.com/ecos/ecos-license/
## -------------------------------------------
## -------------------------------------------
#####ECOSGPLCOPYRIGHTEND####
#####ECOSGPLCOPYRIGHTEND####
# ====================================================================
# ====================================================================
cdl_package CYGPKG_IO_SERIAL_MCF5272_UART {
cdl_package CYGPKG_IO_SERIAL_MCF5272_UART {
    display       "Serial driver for MCF5272 UART"
    display       "Serial driver for MCF5272 UART"
    parent        CYGPKG_IO_SERIAL_DEVICES
    parent        CYGPKG_IO_SERIAL_DEVICES
    active_if     CYGPKG_IO_SERIAL
    active_if     CYGPKG_IO_SERIAL
    requires      CYGPKG_ERROR
    requires      CYGPKG_ERROR
    include_dir   cyg/io
    include_dir   cyg/io
    description   "
    description   "
           This option enables the serial device drivers for the
           This option enables the serial device drivers for the
           GMPU boards."
           GMPU boards."
    compile       -library=libextras.a   ser_mcf5272_uart.c
    compile       -library=libextras.a   ser_mcf5272_uart.c
    #define_proc {
    #define_proc {
    #    puts $::cdl_system_header "/***** serial driver proc output start *****/"
    #    puts $::cdl_system_header "/***** serial driver proc output start *****/"
    #    puts $::cdl_system_header "#define CYGDAT_IO_SERIAL_DEVICE_HEADER "
    #    puts $::cdl_system_header "#define CYGDAT_IO_SERIAL_DEVICE_HEADER "
    #    puts $::cdl_system_header "/*****  serial driver proc output end  *****/"
    #    puts $::cdl_system_header "/*****  serial driver proc output end  *****/"
    #}
    #}
    cdl_component CYGPKG_IO_SERIAL_MCF5272_UART_CHANNEL0 {
    cdl_component CYGPKG_IO_SERIAL_MCF5272_UART_CHANNEL0 {
        display       "MCF5272 UART serial port 0 driver"
        display       "MCF5272 UART serial port 0 driver"
        flavor        bool
        flavor        bool
        default_value 1
        default_value 1
        implements    CYGINT_IO_SERIAL_FLOW_CONTROL_HW
        implements    CYGINT_IO_SERIAL_FLOW_CONTROL_HW
        implements    CYGINT_IO_SERIAL_LINE_STATUS_HW
        implements    CYGINT_IO_SERIAL_LINE_STATUS_HW
        description   "This option includes the serial device driver for the MCF5272 UART port 0."
        description   "This option includes the serial device driver for the MCF5272 UART port 0."
        cdl_option CYGDAT_IO_SERIAL_MCF5272_UART_CHANNEL0_NAME {
        cdl_option CYGDAT_IO_SERIAL_MCF5272_UART_CHANNEL0_NAME {
            display       "Device name for the MCF5272 UART serial port 0 driver"
            display       "Device name for the MCF5272 UART serial port 0 driver"
            flavor        data
            flavor        data
            default_value {"\"/dev/ser0\""}
            default_value {"\"/dev/ser0\""}
            description   "
            description   "
                This option specifies the name of serial device for the
                This option specifies the name of serial device for the
                MCF5272 UART port 0."
                MCF5272 UART port 0."
         }
         }
        cdl_option CYGNUM_IO_SERIAL_MCF5272_UART_CHANNEL0_BAUD {
        cdl_option CYGNUM_IO_SERIAL_MCF5272_UART_CHANNEL0_BAUD {
            display       "Baud rate for the MCF5272 UART serial port 0 driver"
            display       "Baud rate for the MCF5272 UART serial port 0 driver"
            flavor        data
            flavor        data
            legal_values   {1200 2400 4800 9600 14400 19200 38400 115200}
            legal_values   {1200 2400 4800 9600 14400 19200 38400 115200}
            default_value 9600
            default_value 9600
            description   "
            description   "
                This option specifies the default baud rate (speed) for the
                This option specifies the default baud rate (speed) for the
                MCF5272 UART port 0."
                MCF5272 UART port 0."
        }
        }
        cdl_option CYGNUM_IO_SERIAL_MCF5272_UART_CHANNEL0_BUFSIZE {
        cdl_option CYGNUM_IO_SERIAL_MCF5272_UART_CHANNEL0_BUFSIZE {
            display       "Buffer size for the MCF5272 UART serial port 0 driver"
            display       "Buffer size for the MCF5272 UART serial port 0 driver"
            flavor        data
            flavor        data
            legal_values  0 to 8192
            legal_values  0 to 8192
            default_value 128
            default_value 128
            description   "
            description   "
                This option specifies the size of the internal buffers used
                This option specifies the size of the internal buffers used
                for the MCF5272 UART port 0."
                for the MCF5272 UART port 0."
        }
        }
    }
    }
    cdl_component CYGPKG_IO_SERIAL_MCF5272_UART_CHANNEL1 {
    cdl_component CYGPKG_IO_SERIAL_MCF5272_UART_CHANNEL1 {
        display       "MCF5272 UART serial port 1 driver"
        display       "MCF5272 UART serial port 1 driver"
        flavor        bool
        flavor        bool
        default_value 0
        default_value 0
        implements    CYGINT_IO_SERIAL_FLOW_CONTROL_HW
        implements    CYGINT_IO_SERIAL_FLOW_CONTROL_HW
        implements    CYGINT_IO_SERIAL_LINE_STATUS_HW
        implements    CYGINT_IO_SERIAL_LINE_STATUS_HW
        description   "This option includes the serial device driver for the MCF5272 UART port 1."
        description   "This option includes the serial device driver for the MCF5272 UART port 1."
        cdl_option CYGDAT_IO_SERIAL_MCF5272_UART_CHANNEL1_NAME {
        cdl_option CYGDAT_IO_SERIAL_MCF5272_UART_CHANNEL1_NAME {
            display       "Device name for the MCF5272 UART serial port 1 driver"
            display       "Device name for the MCF5272 UART serial port 1 driver"
            flavor        data
            flavor        data
            default_value {"\"/dev/ser1\""}
            default_value {"\"/dev/ser1\""}
            description   "
            description   "
                This option specifies the name of serial device for the
                This option specifies the name of serial device for the
                MCF5272 UART port 1."
                MCF5272 UART port 1."
         }
         }
        cdl_option CYGNUM_IO_SERIAL_MCF5272_UART_CHANNEL1_BAUD {
        cdl_option CYGNUM_IO_SERIAL_MCF5272_UART_CHANNEL1_BAUD {
            display       "Baud rate for the MCF5272 UART serial port 1 driver"
            display       "Baud rate for the MCF5272 UART serial port 1 driver"
            flavor        data
            flavor        data
            legal_values   {1200 2400 4800 9600 14400 19200 38400 115200}
            legal_values   {1200 2400 4800 9600 14400 19200 38400 115200}
            default_value 9600
            default_value 9600
            description   "
            description   "
                This option specifies the default baud rate (speed) for the
                This option specifies the default baud rate (speed) for the
                MCF5272 UART port 1."
                MCF5272 UART port 1."
        }
        }
        cdl_option CYGNUM_IO_SERIAL_MCF5272_UART_CHANNEL1_BUFSIZE {
        cdl_option CYGNUM_IO_SERIAL_MCF5272_UART_CHANNEL1_BUFSIZE {
            display       "Buffer size for the MCF5272 UART serial port 1 driver"
            display       "Buffer size for the MCF5272 UART serial port 1 driver"
            flavor        data
            flavor        data
            legal_values  0 to 8192
            legal_values  0 to 8192
            default_value 128
            default_value 128
            description   "
            description   "
                This option specifies the size of the internal buffers used
                This option specifies the size of the internal buffers used
                for the MCF5272 UART port 1."
                for the MCF5272 UART port 1."
        }
        }
    }
    }
}
}
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.