
Using the Integrated Development Environment UM013037-1212
94
Zilog Developer Studio II – Z8 Encore!
User Manual
UARTS
In the
UARTs area, select the checkboxes for the UARTs that you are going to use.
The Z8 Encore! XP F1680 Series has a user-controlled
Program RAM (PRAM) area to
store interrupt service routines (ISRs) of high-frequency interrupts. Program RAM
ensures low average current and a quick response for high-frequency interrupts. To use
this feature, the ISRs in the ZSL UART must be provided with the option of being placed
in the PRAM segment. When you select the
Place ISR into PRAM checkbox, ZDS II
addresses the
zslF1680U0XXX.lib library, zslF1680U1XXX.lib library, or both
libraries to place ISRs for UART0 and UART1 in PRAM.
You can place ISRs in PRAM only when the UART is set in interrupt mode. To set the
UART in interrupt mode, edit the
include\zilog\uartcontrol.h header file by
defining the UART0_MODE/UART1_MODE symbol as MODE_INTERRUPT and
rebuilding the libraries. For more information about rebuilding the ZSL, see the Zilog
Standard Library API Reference Manual (RM0038).
For the Z8 Encore! XP F1680 Series, the default ZSL libraries are in the
zslF1680XXX.lib files.
The following functions are placed in PRAM segment within each library:
zslF1680U0XXX.lib
•
VOID isr_UART0_RX( VOID )
•
VOID isr_UART0_TX( VOID )
zslF1680U1XXX.lib
•
VOID isr_UART1_RX( VOID )
•
VOID isr_UART1_TX( VOID )
Linker: Commands Page
The options in the Commands page are described in this section.
Commentaires sur ces manuels