Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

Port F access and configuration shortcuts
[Parallel ports definitions]

Defines


Define Documentation

#define PPF   *pPORTFIO
 

Port F Data Registers.

#define PPF_CLR   *pPORTFIO_CLEAR
 

GPIO Clear Registers. Write 1 to clear related bit.

#define PPF_DIR   *pPORTFIO_DIR
 

For all bits, 0 - Input, 1 - Output.

#define PPF_EDG   *pPORTFIO_EDGE
 

For all bits, 0 - Level, 1 - Edge.

#define PPF_FER   *pPORTF_FER
 

For all bits, 0 - GPIO mode, 1 - Enable peripheral function.

#define PPF_INE   *pPORTFIO_INEN
 

For all bits, 0 - Input Buffer Disabled, 1 - Input Buffer Enabled.

#define PPF_MCA   *pPORTFIO_MASKA_CLEAR
 

For all bits, 1 - Clear.

#define PPF_MCB   *pPORTFIO_MASKB_CLEAR
 

For all bits, 1 - Clear.

#define PPF_MKA   *pPORTFIO_MASKA
 

For all bits, 1 - Enable, 0 - Disable.

#define PPF_MKB   *pPORTFIO_MASKB
 

For all bits, 1 - Enable, 0 - Disable.

#define PPF_MSA   *pPORTFIO_MASKA_SET
 

For all bits, 1 - Set.

#define PPF_MSB   *pPORTFIO_MASKB_SET
 

For all bits, 1 - Set.

#define PPF_MTA   *pPORTFIO_MASKA_TOGGLE
 

For all bits, 1 - Toggle.

#define PPF_MTB   *pPORTFIO_MASKB_TOGGLE
 

For all bits, 1 - Toggle.

#define PPF_MUX   *pPORTF_MUX
 

For all bit fields: 0 = Peripheral function, 1 = Alternate peripheral function.

#define PPF_POL   *pPORTFIO_POLAR
 

For all bits, 0 - Active high or rising edge, 1 - Active low or falling edge.

#define PPF_RSE   *pPORTFIO_BOTH
 

For all bits when enabled for edge-sensitivity, 0 - Single edge, 1 - Both edges.

#define PPF_SET   *pPORTFIO_SET
 

GPIO Set Registers. Write 1 to set related bit.

#define PPF_STC   *pPORTF_PADCTL
 

These registers configure hysteresis for the PORTx inputs.

For each controlled group of pins, b#0 will disable Schmitt triggering (hysteresis), while b#1 will enable it.

#define PPF_TGL   *pPORTFIO_TOGGLE
 

GPIO Toggle Registers. Write 1 to toggle related bit.


Generated on Tue Apr 7 20:07:44 2015 for BF592A Library by doxygen 1.3.1