mFrame
載入中...
搜尋中...
無符合項目
chip::glikey::GLIKEY 類別 參考文件final
類別chip::glikey::GLIKEY的繼承圖:
mframe::lang::Object mframe::lang::Interface

公開方法(Public Methods)

virtual ~GLIKEY (void) override
 Destroy the object.
 
- 公開方法(Public Methods) 繼承自 mframe::lang::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::ObjectgetObject (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::ThreadcurrentThread (void) const
 取得當前的執行緒
 
virtual int hashcode (void) const
 返回對象的哈希碼值。支持這種方法是為了散列表,如HashMap提供的那樣。
 
- 公開方法(Public Methods) 繼承自 mframe::lang::Interface
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.
 

函式成員說明文件

◆ CTRL_0_RESERVED15()

static constexpr uint32 chip::glikey::GLIKEY::CTRL_0_RESERVED15 ( uint32 vaule)
inlinestaticconstexpr

CTRL_0 - RESERVED15.

Control Register 0 SFR - Reserved for Future Use

◆ CTRL_0_RESERVED31()

static constexpr uint32 chip::glikey::GLIKEY::CTRL_0_RESERVED31 ( uint32 vaule)
inlinestaticconstexpr

CTRL_0 - RESERVED31.

Control Register 0 SFR - Reserved for Future Use

◆ CTRL_0_SFT_RST()

static constexpr uint32 chip::glikey::GLIKEY::CTRL_0_SFT_RST ( uint32 vaule)
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

  • [0b0]No effect
  • [0b1]Triggers the soft reset

◆ CTRL_0_WR_EN_0()

static constexpr uint32 chip::glikey::GLIKEY::CTRL_0_WR_EN_0 ( uint32 vaule)
inlinestaticconstexpr

CTRL_0 - WR_EN_0.

Control Register 0 SFR - Write Enable 0

◆ CTRL_0_WRITE_INDEX()

static constexpr uint32 chip::glikey::GLIKEY::CTRL_0_WRITE_INDEX ( uint32 vaule)
inlinestaticconstexpr

CTRL_0 - WRITE_INDEX.

Control Register 0 SFR - Write Index

◆ CTRL_1_READ_INDEX()

static constexpr uint32 chip::glikey::GLIKEY::CTRL_1_READ_INDEX ( uint32 vaule)
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.

◆ CTRL_1_RESERVED15()

static constexpr uint32 chip::glikey::GLIKEY::CTRL_1_RESERVED15 ( uint32 vaule)
inlinestaticconstexpr

CTRL_1 - RESERVED15.

Control Regsiter 1 SFR - Reserved for Future Use

◆ CTRL_1_RESERVED31()

static constexpr uint32 chip::glikey::GLIKEY::CTRL_1_RESERVED31 ( uint32 vaule)
inlinestaticconstexpr

CTRL_1 - RESERVED31.

Control Regsiter 1 SFR - Reserved for Future Use

◆ CTRL_1_SFR_LOCK()

static constexpr uint32 chip::glikey::GLIKEY::CTRL_1_SFR_LOCK ( uint32 vaule)
inlinestaticconstexpr

CTRL_1 - SFR_LOCK.

Control Regsiter 1 SFR - LOCK register for GLIKEY

◆ CTRL_1_WR_EN_1()

static constexpr uint32 chip::glikey::GLIKEY::CTRL_1_WR_EN_1 ( uint32 vaule)
inlinestaticconstexpr

CTRL_1 - WR_EN_1.

Control Regsiter 1 SFR - Write Enable One

◆ INTR_CTRL_INT_CLR()

static constexpr uint32 chip::glikey::GLIKEY::INTR_CTRL_INT_CLR ( uint32 vaule)
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

◆ INTR_CTRL_INT_EN()

static constexpr uint32 chip::glikey::GLIKEY::INTR_CTRL_INT_EN ( uint32 vaule)
inlinestaticconstexpr

INTR_CTRL - INT_EN.

Interrupt Control - Interrupt Enable. Writing a 1, Interrupt asserts on Interrupt output port

◆ INTR_CTRL_INT_SET()

static constexpr uint32 chip::glikey::GLIKEY::INTR_CTRL_INT_SET ( uint32 vaule)
inlinestaticconstexpr

INTR_CTRL - INT_SET.

Interrupt Control - Interrupt Set. Writing a 1 to this register asserts the interrupt. This register reads as 0

  • [0b0]No effect
  • [0b1]Triggers interrupt

◆ INTR_CTRL_RESERVED31()

static constexpr uint32 chip::glikey::GLIKEY::INTR_CTRL_RESERVED31 ( uint32 vaule)
inlinestaticconstexpr

INTR_CTRL - RESERVED31.

Interrupt Control - Reserved for Future Use

◆ STATUS_ERROR_STATUS()

static constexpr uint32 chip::glikey::GLIKEY::STATUS_ERROR_STATUS ( uint32 vaule)
inlinestaticconstexpr

STATUS - ERROR_STATUS.

Status - Status of the Error

  • [0b000]No error
  • [0b001]FSM error has occurred
  • [0b010]Write index out of the bound (OOB) error
  • [0b011]Write index OOB and FSM error
  • [0b100]Read index OOB error
  • [0b110]Write index and read index OOB error
  • [0b111]Read index OOB, write index OOB, and FSM error

◆ STATUS_FSM_STATE()

static constexpr uint32 chip::glikey::GLIKEY::STATUS_FSM_STATE ( uint32 vaule)
inlinestaticconstexpr

STATUS - FSM_STATE.

Status - Status of FSM

◆ STATUS_INT_STATUS()

static constexpr uint32 chip::glikey::GLIKEY::STATUS_INT_STATUS ( uint32 vaule)
inlinestaticconstexpr

STATUS - INT_STATUS.

Status - Interrupt Status.

  • [0b0]No effect
  • [0b1]Triggers interrupt

◆ STATUS_LOCK_STATUS()

static constexpr uint32 chip::glikey::GLIKEY::STATUS_LOCK_STATUS ( uint32 vaule)
inlinestaticconstexpr

STATUS - LOCK_STATUS.

Status - Provides the current lock status of indexes.

  • [0b0]Current read index is not locked
  • [0b1]Current read index is locked

◆ STATUS_RESERVED18()

static constexpr uint32 chip::glikey::GLIKEY::STATUS_RESERVED18 ( uint32 vaule)
inlinestaticconstexpr

STATUS - RESERVED18.

Status - Reserved for Future Use

◆ VERSION_FSM_CONFIG()

static constexpr uint32 chip::glikey::GLIKEY::VERSION_FSM_CONFIG ( uint32 vaule)
inlinestaticconstexpr

VERSION - FSM_CONFIG.

IP Version

  • [0]4 step
  • [1]8 step

◆ VERSION_INDEX_CONFIG()

static constexpr uint32 chip::glikey::GLIKEY::VERSION_INDEX_CONFIG ( uint32 vaule)
inlinestaticconstexpr

VERSION - INDEX_CONFIG.

IP Version - Configured number of addressable indexes

◆ VERSION_RESERVED11()

static constexpr uint32 chip::glikey::GLIKEY::VERSION_RESERVED11 ( uint32 vaule)
inlinestaticconstexpr

VERSION - Reserved11.

IP Version - Reserved

◆ VERSION_RESERVED15()

static constexpr uint32 chip::glikey::GLIKEY::VERSION_RESERVED15 ( uint32 vaule)
inlinestaticconstexpr

VERSION - Reserved15.

IP Version - Reserved

◆ VERSION_RESERVED16()

static constexpr uint32 chip::glikey::GLIKEY::VERSION_RESERVED16 ( uint32 vaule)
inlinestaticconstexpr

VERSION - Reserved16.

IP Version - Reserved

◆ VERSION_RESERVED3()

static constexpr uint32 chip::glikey::GLIKEY::VERSION_RESERVED3 ( uint32 vaule)
inlinestaticconstexpr

VERSION - Reserved3.

IP Version - Reserved

◆ VERSION_RESERVED31()

static constexpr uint32 chip::glikey::GLIKEY::VERSION_RESERVED31 ( uint32 vaule)
inlinestaticconstexpr

VERSION - Reserved31.

IP Version - Reserved for Future Use

◆ VERSION_RESERVED7()

static constexpr uint32 chip::glikey::GLIKEY::VERSION_RESERVED7 ( uint32 vaule)
inlinestaticconstexpr

VERSION - Reserved7.

IP Version - Reserved


此類別(class) 文件是由下列檔案中產生: