Go to the source code of this file.
◆ irq_enable()
static unsigned char irq_enable |
( |
void |
| ) |
|
|
inlinestatic |
This function servers to enable IRQ.
- Parameters
-
- Returns
- if return 1 is enable.else disable.
◆ irq_disable()
static unsigned char irq_disable |
( |
void |
| ) |
|
|
inlinestatic |
This function servers to disable IRQ.
- Parameters
-
- Returns
- if return 0 is disable.else enable.
◆ irq_restore()
static void irq_restore |
( |
unsigned char |
en | ) |
|
|
inlinestatic |
This function servers to restore IRQ.
- Parameters
-
- Returns
- if return 1 is irg restore.
◆ irq_enable_type()
static void irq_enable_type |
( |
unsigned long |
msk | ) |
|
|
inlinestatic |
This function servers to set IRQ mask.
- Parameters
-
- Returns
- none.
◆ irq_set_mask()
static void irq_set_mask |
( |
unsigned long |
msk | ) |
|
|
inlinestatic |
This function servers to set IRQ mask.
- Parameters
-
- Returns
- none.
◆ irq_get_mask()
static unsigned long irq_get_mask |
( |
void |
| ) |
|
|
inlinestatic |
This function servers to enable one interrupt.
- Parameters
-
- Returns
- the value of IRQ register.
◆ irq_disable_type()
static void irq_disable_type |
( |
unsigned long |
msk | ) |
|
|
inlinestatic |
This function servers to clear IRQ mask.
- Parameters
-
[in] | msk | - variable of msk. |
- Returns
- none.
◆ irq_get_src()
static unsigned long irq_get_src |
( |
| ) |
|
|
inlinestatic |
This function servers to get an IRQ source.
- Parameters
-
- Returns
- IRQ source.
◆ irq_clr_src2()
static void irq_clr_src2 |
( |
unsigned long |
msk | ) |
|
|
inlinestatic |
This function servers to clear the specified IRQ source.
- Parameters
-
[in] | msk | - variable of msk. |
- Returns
- none.
◆ irq_clr_src()
static void irq_clr_src |
( |
void |
| ) |
|
|
inlinestatic |
This function servers to clear all IRQ source.
- Parameters
-
- Returns
- none.
◆ rf_irq_enable()
static void rf_irq_enable |
( |
unsigned int |
msk | ) |
|
|
inlinestatic |
This function servers to set the mask of RF IRQ.
- Parameters
-
[in] | msk | - variable of msk. |
- Returns
- none.
◆ rf_irq_disable()
static void rf_irq_disable |
( |
unsigned int |
msk | ) |
|
|
inlinestatic |
This function servers to clear the mask of RF IRQ.
- Parameters
-
[in] | msk | - variable of msk. |
- Returns
- none.
◆ rf_irq_src_get()
static unsigned short rf_irq_src_get |
( |
void |
| ) |
|
|
inlinestatic |
This function servers to get the RF IRQ source.
- Parameters
-
- Returns
- the state of RF IRQ register.
◆ rf_irq_clr_src()
static void rf_irq_clr_src |
( |
unsigned short |
msk | ) |
|
|
inlinestatic |
This function servers to clear the RF IRQ source.
- Parameters
-
[in] | msk | - variable of msk. |
- Returns
- none.