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 is released as version 2.1
The new release of BOOS Core has gotten ARM architecture with instruction set version 5, some independent algorithms of any compilers, root interface for all interfaces, and many tiny aspects, which were implemented in it.
Interface «api::Timer»
Hardware timer resource interface.
- api::Timer
- public api::Object
public:
virtual int64 getCount() const;
virtual int32 getIndex() const;
virtual int64 getPeriod() const;
virtual bool isConstructed() const;
static bool isObject(const Type* obj);
virtual void setCount(int64 count);
public: virtual ~Timer();
Destructor.
public: virtual int64 getCount() const;
Gets this timer counter.
Returns:
timer counter register value.
public: virtual int32 getIndex() const;
Returns this timer index.
Returns:
index of this timer, or -1 if error has been occurred.
public: virtual int64 getPeriod() const;
Gets this timer period.
Returns:
timer period register value.
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 setCount(int64 count);
Sets this timer counter.
Parameters:
count — timer counter register value.
public: virtual void setPeriod(int64 us=0);
Sets this timer period.
Parameters:
us — timer period in microseconds, zero value sets a period to maximum value.
public: virtual void start();
Sets this timer period.
Parameters:
us — timer period in microseconds, zero value sets a period to maximum value.
public: virtual void stop();
Stops this timer count.