Detailed Description
Main processor: ARM946E-S at 67MHz Cache: 8 KB Instruction Cache, 4KB Data Cache TCM: 8KB Instruction, 4KB Data
Co-processor: ARM7TDMI at 33MHz
Function Documentation
| void rt_console_puts |
( |
const char * |
str |
) |
|
This function is used to display a string on console, normally, it's invoked by rt_kprintf
- Parameters:
-
This function is used to display a string on console, normally, it's invoked by rt_kprintf
- Parameters:
-
| void rt_hw_cpu_reset |
( |
void |
|
) |
|
this function will reset CPU
| void rt_hw_cpu_shutdown |
( |
void |
|
) |
|
this function will shutdown CPU
| void rt_hw_interrupt_init |
( |
void |
|
) |
|
This function will initialize hardware interrupt
| void rt_hw_interrupt_install |
( |
int |
vector, |
|
|
rt_isr_handler_t |
new_handler, |
|
|
rt_isr_handler_t * |
old_handler | |
|
) |
| | |
This function will install a interrupt service routine to a interrupt.
- Parameters:
-
| vector | the interrupt number |
| new_handler | the interrupt service routine to be installed |
| old_handler | the old interrupt service routine |
| void rt_hw_interrupt_mask |
( |
int |
vector |
) |
|
This function will mask a interrupt.
- Parameters:
-
| vector | the interrupt number |
| void rt_hw_interrupt_umask |
( |
int |
vector |
) |
|
This function will un-mask a interrupt.
- Parameters:
-
| vector | the interrupt number |
| void rt_hw_show_register |
( |
struct rt_hw_register * |
regs |
) |
|
this function will show registers of CPU
- Parameters:
-
| rt_uint8_t* rt_hw_stack_init |
( |
void * |
tentry, |
|
|
void * |
parameter, |
|
|
rt_uint8_t * |
stack_addr, |
|
|
void * |
texit | |
|
) |
| | |
This function will initialize thread stack
- Parameters:
-
| tentry | the entry of thread |
| parameter | the parameter of entry |
| stack_addr | the beginning stack address |
| texit | the function will be called when thread exit |
- Returns:
- stack address
| void rt_hw_trap_dabt |
( |
struct rt_hw_register * |
regs |
) |
|
An abort indicates that the current memory access cannot be completed, which occurs during a data access.
- Parameters:
-
- Note:
- never invoke this function in application
| void rt_hw_trap_pabt |
( |
struct rt_hw_register * |
regs |
) |
|
An abort indicates that the current memory access cannot be completed, which occurs during an instruction prefetch.
- Parameters:
-
- Note:
- never invoke this function in application
| void rt_hw_trap_resv |
( |
struct rt_hw_register * |
regs |
) |
|
Normally, system will never reach here
- Parameters:
-
- Note:
- never invoke this function in application
| void rt_hw_trap_swi |
( |
struct rt_hw_register * |
regs |
) |
|
The software interrupt instruction (SWI) is used for entering Supervisor mode, usually to request a particular supervisor function.
- Parameters:
-
- Note:
- never invoke this function in application
| void rt_hw_trap_udef |
( |
struct rt_hw_register * |
regs |
) |
|
When ARM7TDMI comes across an instruction which it cannot handle, it takes the undefined instruction trap.
- Parameters:
-
- Note:
- never invoke this function in application