Ext8IO
 
General Info
Properties
Methods
Events
Typical Usage



Embedded Beans
CPU Beans
About Beans
Bean Categories



 
 Bean Ext8IO
 
External 8-bit Input/Output
High Level Bean

This bean implements an external byte input/output. It requires additional hardware - an external 8-bit port connected to the processor using address and data busses.

Version specific information for HCS12 derivatives
If external port (memory) is placed in the paged area (0x8000 - 0xBFFF) and a page needs to be switched before a write or a read occurs, -CpPPAGE compiler option must be specified. There are two ways to do it:

-CpPPAGE={PPAGE register address} - Switches the page by writing to the paging register. Faster and denser than the second one.

-CpPPAGE=RUNTIME - Runtime routines placed in non-banked area are used to page switching. Must be used if code and paged port use the same paging register.

For more information see HCS12 compiler manual.



©1997-2004, UNIS, Ltd.