BOOS Core API 3.1
- api::Collection<Type>
- api::Heap
- api::IllegalValue<Type>
- api::Interrupt
- api::Iterable<Type>
- api::Iterator<Type>
- api::Kernel
- api::List<Type>
- api::ListIterator<Type>
- api::Mutex
- api::Object
- api::ProcessorInterrupt
- api::ProcessorPll
- api::ProcessorRegisters
- api::ProcessorTimer
- api::Queue<Type>
- api::Resource
- api::Runtime
- api::Scheduler
- api::Semaphore
- api::Stack<Type>
- api::String<Char>
- api::Synchronizable
- api::System
- api::Task
- api::Thread
- api::Timer
- api::Toggle
- api::Value<Type>
- library::AbstractBuffer<Type,Alloc>
- library::AbstractLinkedList<Type,Alloc>
- library::Align<Type,SIZEOF,Alloc>
- library::Buffer<Type,COUNT,Alloc>
- library::CircularList<Type,Alloc>
- library::Heap
- library::LinkedList<Type,Alloc>
- library::LinkedNode<Type,Alloc>
- library::Memory
- library::Stack<Type,Alloc>
- library::String<Char,Alloc>
- library::Toggle<Alloc>
BOOS Core for Texas Instruments TMS320C64x Digital Signal Processors family is released
Baigudin Software project has represented the BOOS Core operating kernel for TMS320C64x Digital Signal Processors family of Texas Instruments Company with single core.
Class «system::Interrupt»
Hardware interrupt resource.
- system::Interrupt
- public Object<Alloc>
- public api::Object
- public api::Interrupt
- public api::Toggle
- public api::Object
- public api::Toggle
- public Object<Alloc>
public:
Interrupt(::api::Task& handler, int32 source);
Type enable(bool status, Type ret);
virtual void enable(bool status=true);
virtual bool isConstructed() const;
static bool isObject(const Type* obj);
Object& operator =(const Object& obj);
void operator delete(void* ptr);
void* operator new(size_t size);
public: Interrupt(::api::Task& handler, int32 source);
Constructor.
Parameters:
handler — user class which implements an interrupt handler interface.
source — available interrupt source.
public: virtual ~Interrupt();
Destructor.
public: virtual void clear();
Clears an interrupt status of this source.
public: virtual bool disable();
Disables a controller.
Returns:
an enable source bit value of a controller before method was called.
public: Type enable(bool status, Type ret);
Enables a controller.
Parameters:
status — returned status by disable method.
ret — value which will be returned.
Returns:
given value.
public: virtual void enable(bool status=true);
Enables a controller.
The true passed argument directly turns a controller on, and the false does nothing, a controller stays in the current state.
Parameters:
status — returned status by disable method, or true for directly turning a controller on.
public: virtual bool isConstructed() const;
Tests if this object has been constructed.
public: static bool isObject(const Type* obj);
Tests if given object has been constructed object.
public: virtual void jump();
Jumps to interrupt hardware vector.
public: Object& operator =(const Object& obj);
Assignment operator.
Parameters:
obj — reference to source object.
Returns:
reference to this object.
public: void operator delete(void* ptr);
Operator delete.
Parameters:
ptr — address of allocated memory block or a null pointer.
public: void* operator new(size_t size);
Operator new.
Parameters:
size — number of bytes to allocate.
Returns:
allocated memory address or a null pointer.
public: void* operator new(size_t size, void* ptr);
Operator new.
Parameters:
size — unused.
ptr — pointer to reserved memory area
Returns:
given pointer.
public: virtual void set();
Sets an interrupt status of this source.