Detailed Description
This product is designed to provide hand-held devices and general applications with cost-effective, low-power, and high-performance microcontroller, which includes
- 1.8V int., 3.3V memory, 3.3V external I/O microprocessor with 16KB I-Cache/16KB D-Cache/MMU
- External memory controller (SDRAM Control and Chip Select logic)
- LCD controller (up to 4K color STN and 256K color TFT) with 1-ch LCD-dedicated DMA
- 4-ch DMAs with external request pins
- 3-ch UART (IrDA1.0, 16-Byte Tx FIFO, and 16-Byte Rx FIFO) / 2-ch SPI
- 1-ch multi-master IIC-BUS/1-ch IIS-BUS controller
- SD Host interface version 1.0 & Multi-Media Card Protocol version 2.11 compatible
- 2-port USB Host /1- port USB Device (ver 1.1)
- 4-ch PWM timers & 1-ch internal timer
- Watch Dog Timer
- 117-bit general purpose I/O ports / 24-ch external interrupt source
- Power control: Normal, Slow, Idle and Power-off mode
- 8-ch 10-bit ADC and Touch screen interface
- RTC with calendar function
- On-chip clock generator with PLL
Function Documentation
| void rt_hw_cpu_dcache_disable |
( |
void |
|
) |
|
| void rt_hw_cpu_dcache_enable |
( |
void |
|
) |
|
| rt_base_t rt_hw_cpu_dcache_status |
( |
void |
|
) |
|
return the status of D-Cache
| void rt_hw_cpu_icache_disable |
( |
void |
|
) |
|
| void rt_hw_cpu_icache_enable |
( |
void |
|
) |
|
| rt_base_t rt_hw_cpu_icache_status |
( |
void |
|
) |
|
return the status of I-Cache
| void rt_hw_cpu_reset |
( |
void |
|
) |
|
reset cpu by dog's time-out
| void rt_hw_cpu_shutdown |
( |
void |
|
) |
|
| void rt_hw_interrupt_init |
( |
void |
|
) |
|
This function will initialize hardware interrupt
| void rt_hw_interrupt_install |
( |
rt_uint32_t |
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 |
( |
rt_uint32_t |
vector |
) |
|
This function will mask a interrupt.
- Parameters:
-
| vector | the interrupt number |
| void rt_hw_interrupt_umask |
( |
rt_uint32_t |
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
| char rt_serial_getc |
( |
void |
|
) |
|
This function read a character from serial without interrupt enable mode
- Returns:
- the read char
| void rt_serial_init |
( |
void |
|
) |
|
This function initializes serial
| void rt_serial_putc |
( |
const char |
c |
) |
|
This function will write a character to serial without interrupt enable mode
- Parameters:
-