DUDS
Distributed Update of Data from Something
ChipSelectErrors.hpp
Go to the documentation of this file.
1 /*
2  * This file is part of the DUDS project. It is subject to the BSD-style
3  * license terms in the LICENSE file found in the top-level directory of this
4  * distribution and at https://github.com/jjackowski/duds/blob/master/LICENSE.
5  * No part of DUDS, including this file, may be copied, modified, propagated,
6  * or distributed except according to the terms contained in the LICENSE file.
7  *
8  * Copyright (C) 2017 Jeff Jackowski
9  */
10 #include <boost/exception/info.hpp> // other includes may be needed to throw/inspect
11 
12 namespace duds { namespace hardware { namespace interface {
13 
17 struct ChipSelectError : virtual std::exception, virtual boost::exception { };
18 
23 
29 
36 
41 
47 
53 
59 typedef boost::error_info<struct Info_ChipId, int> ChipSelectIdError;
60 
61 } } }
62 
A ChipAccess object was given to ChipSelectManager::access(ChipAccess &, int) that is already providi...
boost::error_info< struct Info_ChipId, int > ChipSelectIdError
The chip select ID relavent to the error.
An attempt was made to retire a ChipAccess object that was not the active access object for the manag...
The base type of all chip select related errors.
A ChipSelectManager is required for the operation but is not set.
A ChipSelectManager was given more pins to use than the implementation supports.
Indicates an attempt to select a non-existant chip.
An attempt was made to change the set of valid chips or exactly how a particluar chip might be select...