|
| Processor (void) |
| Construct a new object.
|
|
virtual | ~Processor (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 constexpr uint32 | BASE_GPIO0 = 0x40102000U |
|
static constexpr uint32 | BASE_GPIO1 = 0x40103000U |
|
static constexpr uint32 | BASE_GPIO2 = 0x40104000U |
|
static constexpr uint32 | BASE_GPIO3 = 0x40105000U |
|
static constexpr uint32 | BASE_PORT0 = 0x400BC000U |
|
static constexpr uint32 | BASE_PORT1 = 0x400BD000U |
|
static constexpr uint32 | BASE_PORT2 = 0x400BE000U |
|
static constexpr uint32 | BASE_PORT3 = 0x400BF000U |
|
static constexpr uint32 | BASE_SYSCON = 0x40091000U |
|
static constexpr uint32 | BASE_GLIKEY0 = 0x40091D00U |
|
static constexpr uint32 | BASE_MBC0 = 0x4008E000U |
|
static constexpr uint32 | BASE_MRCC0 = 0x40091000u |
|
static constexpr uint32 | BASE_SCG0 = 0x4008F000U |
|
static constexpr uint32 | BASE_VBAT0 = 0x40093000U |
|
static constexpr uint32 | BASE_SPC0 = 0x40090000U |
|
static constexpr uint32 | BASE_FMU0 = 0x40095000U |
|
static constexpr uint32 | BASE_LPUART0 = 0x4009F000U |
|
static constexpr uint32 | BASE_LPUART1 = 0x400A0000U |
|
static constexpr uint32 | BASE_LPUART2 = 0x400A1000U |
|
static constexpr uint32 | BASE_CTIMER0 = 0x40004000U |
|
static constexpr uint32 | BASE_CTIMER1 = 0x40005000U |
|
static constexpr uint32 | BASE_CTIMER2 = 0x40006000U |
|
static constexpr uint32 | BASE_LPI2C0 = 0x4009A000U |
|