mFrame
|
公開方法(Public Methods) | |
virtual | ~GLIKEY (void) override |
Destroy the object. | |
![]() | |
Object (void) | |
Construct a new Object object. | |
virtual | ~Object (void) override |
Destroy the Object object. | |
void * | operator new (size_t n) |
void * | operator new (size_t n, void *p) |
mframe::lang::Object & | getObject (void) override |
取得類Object | |
void | delay (int milliseconds) const |
函數 delay 等待內核滴答中指定的時間段。 對於1的值,系統等待直到下一個計時器滴答發生。 實際時間延遲最多可能比指定時間少一個計時器滴答聲,即在下一個系統滴答聲發生之前立即調用 osDelay(1),線程會立即重新安排。 | |
bool | equals (Object *object) const |
函數 delay 等待內核滴答中指定的時間段。 對於1的值,系統等待直到下一個計時器滴答發生。 實際時間延遲最多可能比指定時間少一個計時器滴答聲,即在下一個系統滴答聲發生之前立即調用 osDelay(1),線程會立即重新安排。 | |
bool | equals (Object &object) const |
函數 delay 等待內核滴答中指定的時間段。 對於1的值,系統等待直到下一個計時器滴答發生。 實際時間延遲最多可能比指定時間少一個計時器滴答聲,即在下一個系統滴答聲發生之前立即調用 osDelay(1),線程會立即重新安排。 | |
void | wait (void) const |
導致當前線程等待,直到另一個線程調用此對象的notify()方法或notifyAll()方法,或指定的時間 已過。 | |
bool | wait (int timeout) const |
導致當前線程等待,直到另一個線程調用此對象的 notify()方法或 notifyAll()方法,或其他一些線 程中斷當前線程,或一定量的實時時間。 | |
bool | yield (void) const |
函數yield()將控制權傳遞給處於READY狀態且具有相同優先級的下一個線程。 如果在READY狀態下沒有其他優先級相同的線程,則當前線程繼續執行,不會發生線程切換。 | |
int | lock (void) const |
核心鎖定,在調用unlock以前將不會進行執行緒切換 | |
int | unlock (void) const |
核心解鎖。 | |
mframe::sys::Thread * | currentThread (void) const |
取得當前的執行緒 | |
virtual int | hashcode (void) const |
返回對象的哈希碼值。支持這種方法是為了散列表,如HashMap提供的那樣。 | |
![]() | |
virtual | ~Interface (void)=default |
Destroy the struct object. | |
靜態公開方法(Static Public Methods) | |
static constexpr uint32 | CTRL_0_WRITE_INDEX (uint32 vaule) |
CTRL_0 - WRITE_INDEX. | |
static constexpr uint32 | CTRL_0_RESERVED15 (uint32 vaule) |
CTRL_0 - RESERVED15. | |
static constexpr uint32 | CTRL_0_WR_EN_0 (uint32 vaule) |
CTRL_0 - WR_EN_0. | |
static constexpr uint32 | CTRL_0_SFT_RST (uint32 vaule) |
CTRL_0 - SFT_RST. | |
static constexpr uint32 | CTRL_0_RESERVED31 (uint32 vaule) |
CTRL_0 - RESERVED31. | |
static constexpr uint32 | CTRL_1_READ_INDEX (uint32 vaule) |
CTRL_1 - READ_INDEX. | |
static constexpr uint32 | CTRL_1_RESERVED15 (uint32 vaule) |
CTRL_1 - RESERVED15. | |
static constexpr uint32 | CTRL_1_WR_EN_1 (uint32 vaule) |
CTRL_1 - WR_EN_1. | |
static constexpr uint32 | CTRL_1_SFR_LOCK (uint32 vaule) |
CTRL_1 - SFR_LOCK. | |
static constexpr uint32 | CTRL_1_RESERVED31 (uint32 vaule) |
CTRL_1 - RESERVED31. | |
static constexpr uint32 | INTR_CTRL_INT_EN (uint32 vaule) |
INTR_CTRL - INT_EN. | |
static constexpr uint32 | INTR_CTRL_INT_CLR (uint32 vaule) |
INTR_CTRL - INT_CLR. | |
static constexpr uint32 | INTR_CTRL_INT_SET (uint32 vaule) |
INTR_CTRL - INT_SET. | |
static constexpr uint32 | INTR_CTRL_RESERVED31 (uint32 vaule) |
INTR_CTRL - RESERVED31. | |
static constexpr uint32 | STATUS_INT_STATUS (uint32 vaule) |
STATUS - INT_STATUS. | |
static constexpr uint32 | STATUS_LOCK_STATUS (uint32 vaule) |
STATUS - LOCK_STATUS. | |
static constexpr uint32 | STATUS_ERROR_STATUS (uint32 vaule) |
STATUS - ERROR_STATUS. | |
static constexpr uint32 | STATUS_RESERVED18 (uint32 vaule) |
STATUS - RESERVED18. | |
static constexpr uint32 | STATUS_FSM_STATE (uint32 vaule) |
STATUS - FSM_STATE. | |
static constexpr uint32 | VERSION_RESERVED3 (uint32 vaule) |
VERSION - Reserved3. | |
static constexpr uint32 | VERSION_RESERVED7 (uint32 vaule) |
VERSION - Reserved7. | |
static constexpr uint32 | VERSION_RESERVED11 (uint32 vaule) |
VERSION - Reserved11. | |
static constexpr uint32 | VERSION_RESERVED15 (uint32 vaule) |
VERSION - Reserved15. | |
static constexpr uint32 | VERSION_RESERVED16 (uint32 vaule) |
VERSION - Reserved16. | |
static constexpr uint32 | VERSION_FSM_CONFIG (uint32 vaule) |
VERSION - FSM_CONFIG. | |
static constexpr uint32 | VERSION_INDEX_CONFIG (uint32 vaule) |
VERSION - INDEX_CONFIG. | |
static constexpr uint32 | VERSION_RESERVED31 (uint32 vaule) |
VERSION - Reserved31. | |
|
inlinestaticconstexpr |
CTRL_0 - RESERVED15.
Control Register 0 SFR - Reserved for Future Use
|
inlinestaticconstexpr |
CTRL_0 - RESERVED31.
Control Register 0 SFR - Reserved for Future Use
|
inlinestaticconstexpr |
CTRL_0 - SFT_RST.
Control Register 0 SFR - Soft reset for the core reset (SFR configuration will be preseved).This register reads as 0
|
inlinestaticconstexpr |
CTRL_0 - WR_EN_0.
Control Register 0 SFR - Write Enable 0
|
inlinestaticconstexpr |
CTRL_0 - WRITE_INDEX.
Control Register 0 SFR - Write Index
|
inlinestaticconstexpr |
CTRL_1 - READ_INDEX.
Control Regsiter 1 SFR - Index status, Writing an index value to this register will request the block to return the lock status of this index.
|
inlinestaticconstexpr |
CTRL_1 - RESERVED15.
Control Regsiter 1 SFR - Reserved for Future Use
|
inlinestaticconstexpr |
CTRL_1 - RESERVED31.
Control Regsiter 1 SFR - Reserved for Future Use
|
inlinestaticconstexpr |
CTRL_1 - SFR_LOCK.
Control Regsiter 1 SFR - LOCK register for GLIKEY
|
inlinestaticconstexpr |
CTRL_1 - WR_EN_1.
Control Regsiter 1 SFR - Write Enable One
|
inlinestaticconstexpr |
INTR_CTRL - INT_CLR.
Interrupt Control - Interrupt Clear. Writing a 1 to this register creates a single interrupt clear pulse. This register reads as 0
|
inlinestaticconstexpr |
INTR_CTRL - INT_EN.
Interrupt Control - Interrupt Enable. Writing a 1, Interrupt asserts on Interrupt output port
|
inlinestaticconstexpr |
INTR_CTRL - INT_SET.
Interrupt Control - Interrupt Set. Writing a 1 to this register asserts the interrupt. This register reads as 0
|
inlinestaticconstexpr |
INTR_CTRL - RESERVED31.
Interrupt Control - Reserved for Future Use
|
inlinestaticconstexpr |
STATUS - ERROR_STATUS.
Status - Status of the Error
|
inlinestaticconstexpr |
STATUS - FSM_STATE.
Status - Status of FSM
|
inlinestaticconstexpr |
STATUS - INT_STATUS.
Status - Interrupt Status.
|
inlinestaticconstexpr |
STATUS - LOCK_STATUS.
Status - Provides the current lock status of indexes.
|
inlinestaticconstexpr |
STATUS - RESERVED18.
Status - Reserved for Future Use
|
inlinestaticconstexpr |
VERSION - FSM_CONFIG.
IP Version
|
inlinestaticconstexpr |
VERSION - INDEX_CONFIG.
IP Version - Configured number of addressable indexes
|
inlinestaticconstexpr |
VERSION - Reserved11.
IP Version - Reserved
|
inlinestaticconstexpr |
VERSION - Reserved15.
IP Version - Reserved
|
inlinestaticconstexpr |
VERSION - Reserved16.
IP Version - Reserved
|
inlinestaticconstexpr |
VERSION - Reserved3.
IP Version - Reserved
|
inlinestaticconstexpr |
VERSION - Reserved31.
IP Version - Reserved for Future Use
|
inlinestaticconstexpr |
VERSION - Reserved7.
IP Version - Reserved