12e54c164Sbeveloper/*
22e54c164Sbeveloper * Copyright 2002, Marcus Overhagen. All rights reserved.
32e54c164Sbeveloper * Distributed under the terms of the MIT License.
42e54c164Sbeveloper */
52e54c164Sbeveloper
62e54c164Sbeveloper#include <DigitalPort.h>
72e54c164Sbeveloper
82e54c164SbeveloperBDigitalPort::BDigitalPort()
92e54c164Sbeveloper{
102e54c164Sbeveloper}
112e54c164Sbeveloper
122e54c164Sbeveloper
132e54c164SbeveloperBDigitalPort::~BDigitalPort()
142e54c164Sbeveloper{
152e54c164Sbeveloper}
162e54c164Sbeveloper
172e54c164Sbeveloper
182e54c164Sbeveloperstatus_t
192e54c164SbeveloperBDigitalPort::Open(const char *portName)
202e54c164Sbeveloper{
212e54c164Sbeveloper	return B_ERROR;
222e54c164Sbeveloper}
232e54c164Sbeveloper
242e54c164Sbeveloper
252e54c164Sbevelopervoid
262e54c164SbeveloperBDigitalPort::Close(void)
272e54c164Sbeveloper{
282e54c164Sbeveloper}
292e54c164Sbeveloper
302e54c164Sbeveloper
312e54c164Sbeveloperbool
322e54c164SbeveloperBDigitalPort::IsOpen(void)
332e54c164Sbeveloper{
342e54c164Sbeveloper	return false;
352e54c164Sbeveloper}
362e54c164Sbeveloper
372e54c164Sbeveloper
382e54c164Sbeveloperssize_t
392e54c164SbeveloperBDigitalPort::Read(uint8 *buf)
402e54c164Sbeveloper{
412e54c164Sbeveloper	return 0;
422e54c164Sbeveloper}
432e54c164Sbeveloper
442e54c164Sbeveloper
452e54c164Sbeveloperssize_t
462e54c164SbeveloperBDigitalPort::Write(uint8 value)
472e54c164Sbeveloper{
482e54c164Sbeveloper	return 0;
492e54c164Sbeveloper}
502e54c164Sbeveloper
512e54c164Sbeveloper
522e54c164Sbeveloperstatus_t
532e54c164SbeveloperBDigitalPort::SetAsOutput(void)
542e54c164Sbeveloper{
552e54c164Sbeveloper	return B_ERROR;
562e54c164Sbeveloper}
572e54c164Sbeveloper
582e54c164Sbeveloper
592e54c164Sbeveloperbool
602e54c164SbeveloperBDigitalPort::IsOutput(void)
612e54c164Sbeveloper{
622e54c164Sbeveloper	return false;
632e54c164Sbeveloper}
642e54c164Sbeveloper
652e54c164Sbeveloper
662e54c164Sbeveloperstatus_t
672e54c164SbeveloperBDigitalPort::SetAsInput(void)
682e54c164Sbeveloper{
692e54c164Sbeveloper	return B_ERROR;
702e54c164Sbeveloper}
712e54c164Sbeveloper
722e54c164Sbeveloper
732e54c164Sbeveloperbool
742e54c164SbeveloperBDigitalPort::IsInput(void)
752e54c164Sbeveloper{
762e54c164Sbeveloper	return false;
772e54c164Sbeveloper}
782e54c164Sbeveloper
792e54c164Sbeveloper
802e54c164Sbevelopervoid
812e54c164SbeveloperBDigitalPort::_ReservedDigitalPort1()
822e54c164Sbeveloper{
832e54c164Sbeveloper}
842e54c164Sbeveloper
852e54c164Sbeveloper
862e54c164Sbevelopervoid
872e54c164SbeveloperBDigitalPort::_ReservedDigitalPort2()
882e54c164Sbeveloper{
892e54c164Sbeveloper}
902e54c164Sbeveloper
912e54c164Sbeveloper
922e54c164Sbevelopervoid
932e54c164SbeveloperBDigitalPort::_ReservedDigitalPort3()
942e54c164Sbeveloper{
952e54c164Sbeveloper}
962e54c164Sbeveloper
972e54c164Sbeveloper
98