ExtBitIO
 
 
 Bean ExtBitIO
 
External 1-bit Input/Output with Direction Register
High Level Bean

This bean implements an external one-bit input/output. It uses one bit/pin of a port.

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.


This bean belongs to the category: CPU External Devices-Port I/O



Processor ExpertTM and Embedded BeansTM are registered trademarks of UNIS, Ltd.
©1997-2005, UNIS, Ltd.