software_APIs  1.0.0
Functions
irq_api.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void IRQ_enableExternal1 (bool is_enable)
 
void IRQ_enableExternal2 (bool is_enable)
 
void IRQ_enableUser0 (bool is_enable)
 
void IRQ_enableUser1 (bool is_enable)
 
void IRQ_enableUser2 (bool is_enable)
 
void IRQ_enableTimer (bool is_enable)
 
void IRQ_enableUartTx (bool is_enable)
 
void IRQ_enableUartRx (bool is_enable)
 
void IRQ_hkSpi (bool is_enable)
 

Function Documentation

◆ IRQ_enableExternal1()

void IRQ_enableExternal1 ( bool  is_enable)

Enable or disable external1 interrupt GPIO[7]

Parameters
is_enablewhen 1 (true) interrupt is active and firmware would detect if happened, 0 (false) interrupt is disabled and firmware would not detect if happened

◆ IRQ_enableExternal2()

void IRQ_enableExternal2 ( bool  is_enable)

Enable or disable external2 interrupt GPIO[12]

Parameters
is_enablewhen 1 (true) interrupt is active and firmware would detect if happened, 0 (false) interrupt is disabled and firmware would not detect if happened

◆ IRQ_enableTimer()

void IRQ_enableTimer ( bool  is_enable)

Enable or disable timer0 interrupt

Parameters
is_enablewhen 1 (true) interrupt is active and firmware would detect if happened, 0 (false) interrupt is disabled and firmware would not detect if happened

◆ IRQ_enableUartRx()

void IRQ_enableUartRx ( bool  is_enable)

Enable or disable UART rx interrupt

Parameters
is_enablewhen 1 (true) interrupt is active and firmware would detect if happened, 0 (false) interrupt is disabled and firmware would not detect if happened

◆ IRQ_enableUartTx()

void IRQ_enableUartTx ( bool  is_enable)

Enable or disable UART tx interrupt

Parameters
is_enablewhen 1 (true) interrupt is active and firmware would detect if happened, 0 (false) interrupt is disabled and firmware would not detect if happened

◆ IRQ_enableUser0()

void IRQ_enableUser0 ( bool  is_enable)

Enable or disable user0 interrupt

Parameters
is_enablewhen 1 (true) interrupt is active and firmware would detect if happened, 0 (false) interrupt is disabled and firmware would not detect if happened

◆ IRQ_enableUser1()

void IRQ_enableUser1 ( bool  is_enable)

Enable or disable user1 interrupt

Parameters
is_enablewhen 1 (true) interrupt is active and firmware would detect if happened, 0 (false) interrupt is disabled and firmware would not detect if happened

◆ IRQ_enableUser2()

void IRQ_enableUser2 ( bool  is_enable)

Enable or disable user1 interrupt

Parameters
is_enablewhen 1 (true) interrupt is active and firmware would detect if happened, 0 (false) interrupt is disabled and firmware would not detect if happened

◆ IRQ_hkSpi()

void IRQ_hkSpi ( bool  is_enable)

Enable or disable SPI interrupt

Parameters
is_enablewhen 1 (true) interrupt is active and firmware would detect if happened, 0 (false) interrupt is disabled and firmware would not detect if happened