From: eachus@mitre-bedford.arpa (Robert I. Eachus)
Subject: Re: serial port, console IO
Date: 28 Oct 92 21:25:12 GMT [thread overview]
Message-ID: <EACHUS.92Oct28162512@Dr_No.mitre.org> (raw)
In article <1992Oct28.091237.408@doc.bmd.trw.com> nickgill@doc.bmd.trw.com writ
es:
When you use the Alsys board support packages, the parameters passed when
instantiating the generic paclage CONSOLE_IO are the following:
package SERIAL_PORT is new CONSOLE-IO(
X0N_XOFF =>TRUE,
ECHO =>TRUE,
LINE_EDIT =>TRUE,
IN_BUF_SIZE =>512,
OUT_BUF_SIZE =>512,
GET_SERIAL_VECTOR_OFFSET=>
GET_SERIAL_VECTOR_OFFSET,
PUT_CHAR =>PUT_CHAR);
Can someone explain the last three lines of the above?
Assuming that CONSOLE-IO is really CONSOLE_IO, what it means is
that the locally visible routines or variables named
GET_SERIAL_VECTOR_OFFSET and PUT_CHAR are matched to the generic
formal parameters of the same name in CONSOLE_IO. To say more I would
need to see the entire enclosing package AND the declaration of
CONSOLE_IO. (But when you look at them it should become obvious.)
--
Robert I. Eachus
with Standard_Disclaimer;
use Standard_Disclaimer;
function Message (Text: in Clever_Ideas) return Better_Ideas is...
next reply other threads:[~1992-10-28 21:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1992-10-28 21:25 Robert I. Eachus [this message]
-- strict thread matches above, loose matches on Subject: below --
1992-10-29 16:36 serial port, console IO cis.ohio-state.edu!news.sei.cmu.edu!ajpo.sei.cmu.edu!falis
1992-10-28 16:12 cis.ohio-state.edu!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!u
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox