Macros

Macros related to debugging. More...

Macros

#define ZOS_DUMP_ROW_LEN_1   (0 << ZOS_DUMP_ROW_LEN_OFFSET)
 Dump row length of 1 word.
 
#define ZOS_DUMP_ROW_LEN_2   (1 << ZOS_DUMP_ROW_LEN_OFFSET)
 Dump row length of 2 words.
 
#define ZOS_DUMP_ROW_LEN_4   (2 << ZOS_DUMP_ROW_LEN_OFFSET)
 Dump row length of 4 words.
 
#define ZOS_DUMP_ROW_LEN_8   (3 << ZOS_DUMP_ROW_LEN_OFFSET)
 Dump row length of 8 words.
 
#define ZOS_DUMP_ROW_LEN_16   (4 << ZOS_DUMP_ROW_LEN_OFFSET)
 Dump row length of 16 words.
 
#define ZOS_DUMP_ROW_LEN_32   (5 << ZOS_DUMP_ROW_LEN_OFFSET)
 Dump row length of 32 words.
 
#define ZOS_DUMP_WORD_LEN_1   (0 << ZOS_DUMP_WORD_LEN_OFFSET)
 Dump word length of 1 byte.
 
#define ZOS_DUMP_WORD_LEN_2   (1 << ZOS_DUMP_WORD_LEN_OFFSET)
 Dump word length of 2 bytes.
 
#define ZOS_DUMP_WORD_LEN_4   (2 << ZOS_DUMP_WORD_LEN_OFFSET)
 Dump word length of 4 bytes.
 
#define ZOS_DUMP_ENDIAN_LITTLE   (0 << ZOS_DUMP_ENDIAN_OFFSET)
 Dump words are little endian.
 
#define ZOS_DUMP_ENDIAN_BIG   (1 << ZOS_DUMP_ENDIAN_OFFSET)
 Dump words are bug endian.
 
#define ZOS_DUMP_NO_SPACE   (0 << ZOS_DUMP_SPACE_OFFSET)
 Dump words have no spaces between them.
 
#define ZOS_DUMP_ADD_SPACE   (1 << ZOS_DUMP_SPACE_OFFSET)
 Dump words have spaces between them.
 
#define ZOS_DUMP_NO_ADDRESSES   (0 << ZOS_DUMP_ADDRESS_OFFSET)
 Dump does not contains addresses.
 
#define ZOS_DUMP_PRINT_ADDRESSES   (1 << ZOS_DUMP_ADDRESS_OFFSET)
 Dump contains addresses.
 
#define ZOS_DUMP_NO_ASCII   (0 << ZOS_DUMP_ASCII_OFFSET)
 Dump does not print ASCII corresponding to each row.
 
#define ZOS_DUMP_PRINT_ASCII   (1 << ZOS_DUMP_ASCII_OFFSET)
 Dump prints ASCII corresponding to each row.
 
#define ZOS_DUMP_FLAGS(row_len, word_len, endian, space, address, ascii)
 Macros for creating dump flag.
 
#define ZOS_ENABLE_JTAG_GPIOS()   PLATFORM_ENABLE_JTAG_GPIOS()
 Disable JTAG debugging for current session. More...
 

Detailed Description

Macros related to debugging.

Macro Definition Documentation

#define ZOS_ENABLE_JTAG_GPIOS ( )    PLATFORM_ENABLE_JTAG_GPIOS()

Disable JTAG debugging for current session.

Note
The is only used for the AMW106 platform. All other platforms it's ignored.

When JTAG debugging is enabled, GPIOs 0-4 are used for JTAG and are not accessible to the application. Calling this macro allows for accessing GPIOs 0-4.