# debug

Debug via print library

Author | Matthew Schinkel - borntechi.com, copyright © 2009, all rights reserved.
Adapted-by |
Compiler | >=2.4n

Description

    The debug library has all the same functions as the print library,
                 but the user defines constants to turn on and off this
                 library and users debug levels.

Sources

    The jallib print library

Dependencies

- print

## Summary

### Global variables/contants

- `var bit debug_lvl_11 at debug_bits : 11`
- `const DEBUG_13 = 13`
- `var bit debug_lvl_1 at debug_bits : 1`
- `const DEBUG_14 = 14`
- `var bit debug_lvl_9 at debug_bits : 9`
- `var bit debug_lvl_10 at debug_bits : 10`
- `const DEBUG_2 = 2`
- `var bit debug_lvl_4 at debug_bits : 4`
- `const DEBUG_0 = 0`
- `const DEBUG_8 = 8`
- `var bit debug_lvl_8 at debug_bits : 8`
- `const DEBUG_7 = 7`
- `var bit debug_lvl_2 at debug_bits : 2`
- `var bit debug_lvl_6 at debug_bits : 6`
- `const DEBUG_15 = 15`
- `var bit debug_lvl_0 at debug_bits : 0`
- `var word debug_bits = 0`
- `const DEBUG_10 = 10`
- `const DEBUG_12 = 12`
- `const DEBUG_6 = 6`
- `var bit debug_lvl_7 at debug_bits : 7`
- `const DEBUG_1 = 1`
- `const DEBUG_5 = 5`
- `var bit debug_lvl_3 at debug_bits : 3`
- `var bit debug_lvl_5 at debug_bits : 5`
- `var bit debug_lvl_15 at debug_bits : 15`
- `var bit debug_lvl_14 at debug_bits : 14`
- `var bit debug_lvl_12 at debug_bits : 12`
- `var bit debug_lvl_13 at debug_bits : 13`
- `const DEBUG_3 = 3`
- `const DEBUG_9 = 9`
- `const DEBUG_11 = 11`
- `const DEBUG_4 = 4`

### Procedures

- `debug_crlf(word in debug_level)`
- `debug_byte_hex(word in debug_level,byte in data)`
- `debug_word_binary(word in debug_level,word in data)`
- `debug_bit_10(word in debug_level,bit in data)`
- `debug_nibble_binary(word in debug_level,byte in data)`
- `debug_word_hex(word in debug_level,word in data)`
- `debug_sword_dec(word in debug_level,sword in data)`
- `debug_dword_hex(word in debug_level,dword in data)`
- `debug_word_dec(word in debug_level,word in data)`
- `debug_sbyte_dec(word in debug_level,sbyte in data)`
- `debug_sdword_dec(word in debug_level,sdword in data)`
- `debug_sdword_hex(word in debug_level,sdword in data)`
- `debug_dword_dec(word in debug_level,dword in data)`
- `debug_byte_dec(word in debug_level,byte in data)`
- `debug_dword_binary(word in debug_level,dword in data)`
- `debug_bit_truefalse(word in debug_level,bit in data)`
- `debug_byte_binary(word in debug_level,byte in data)`
- `debug_char(word in debug_level,byte in character)`
- `debug_string(word in debug_level,byte in str_in[])`
- `debug_bit_highlow(word in debug_level,bit in data)`

### Functions

## API details

### Global variables/contants

- `var bit debug_lvl_11 at debug_bits : 11`

  No documentation found

- `const DEBUG_13 = 13`

  No documentation found

- `var bit debug_lvl_1 at debug_bits : 1`

  No documentation found

- `const DEBUG_14 = 14`

  No documentation found

- `var bit debug_lvl_9 at debug_bits : 9`

  No documentation found

- `var bit debug_lvl_10 at debug_bits : 10`

  No documentation found

- `const DEBUG_2 = 2`

  No documentation found

- `var bit debug_lvl_4 at debug_bits : 4`

  No documentation found

- `const DEBUG_0 = 0`

      you can use these instead of numbers as input level.
      makes it easy for you to change levels in code with your editor's "replace all"

- `const DEBUG_8 = 8`

  No documentation found

- `var bit debug_lvl_8 at debug_bits : 8`

  No documentation found

- `const DEBUG_7 = 7`

  No documentation found

- `var bit debug_lvl_2 at debug_bits : 2`

  No documentation found

- `var bit debug_lvl_6 at debug_bits : 6`

  No documentation found

- `const DEBUG_15 = 15`

  No documentation found

- `var bit debug_lvl_0 at debug_bits : 0`

  No documentation found

- `var word debug_bits = 0`

      debug enable/disable bits

- `const DEBUG_10 = 10`

  No documentation found

- `const DEBUG_12 = 12`

  No documentation found

- `const DEBUG_6 = 6`

  No documentation found

- `var bit debug_lvl_7 at debug_bits : 7`

  No documentation found

- `const DEBUG_1 = 1`

  No documentation found

- `const DEBUG_5 = 5`

  No documentation found

- `var bit debug_lvl_3 at debug_bits : 3`

  No documentation found

- `var bit debug_lvl_5 at debug_bits : 5`

  No documentation found

- `var bit debug_lvl_15 at debug_bits : 15`

  No documentation found

- `var bit debug_lvl_14 at debug_bits : 14`

  No documentation found

- `var bit debug_lvl_12 at debug_bits : 12`

  No documentation found

- `var bit debug_lvl_13 at debug_bits : 13`

  No documentation found

- `const DEBUG_3 = 3`

  No documentation found

- `const DEBUG_9 = 9`

  No documentation found

- `const DEBUG_11 = 11`

  No documentation found

- `const DEBUG_4 = 4`

  No documentation found

### Procedures

- `debug_crlf(word in debug_level)`

  No documentation found

- `debug_byte_hex(word in debug_level,byte in data)`

  No documentation found

- `debug_word_binary(word in debug_level,word in data)`

  No documentation found

- `debug_bit_10(word in debug_level,bit in data)`

  No documentation found

- `debug_nibble_binary(word in debug_level,byte in data)`

  No documentation found

- `debug_word_hex(word in debug_level,word in data)`

  No documentation found

- `debug_sword_dec(word in debug_level,sword in data)`

  No documentation found

- `debug_dword_hex(word in debug_level,dword in data)`

  No documentation found

- `debug_word_dec(word in debug_level,word in data)`

  No documentation found

- `debug_sbyte_dec(word in debug_level,sbyte in data)`

  No documentation found

- `debug_sdword_dec(word in debug_level,sdword in data)`

  No documentation found

- `debug_sdword_hex(word in debug_level,sdword in data)`

  No documentation found

- `debug_dword_dec(word in debug_level,dword in data)`

  No documentation found

- `debug_byte_dec(word in debug_level,byte in data)`

  No documentation found

- `debug_dword_binary(word in debug_level,dword in data)`

  No documentation found

- `debug_bit_truefalse(word in debug_level,bit in data)`

  No documentation found

- `debug_byte_binary(word in debug_level,byte in data)`

  No documentation found

- `debug_char(word in debug_level,byte in character)`

  No documentation found

- `debug_string(word in debug_level,byte in str_in[])`

  No documentation found

- `debug_bit_highlow(word in debug_level,bit in data)`

  No documentation found

### Functions

## Related samples

Here are the list of samples which use this library:

16f648a | 16f648a_debug.jal
16f723 | 16f723_debug.jal
16f73 | 16f73_debug.jal
16f877 | 16f877_debug.jal
16f877a | 16f877a_debug.jal
16f88 | 16f88_debug.jal
18f14k50 | 18f14k50_debug.jal
18f2450 | 18f2450_debug.jal
18f2520 | 18f2520_debug.jal
18f2550 | 18f2550_debug.jal
18f2620 | 18f2620_debug.jal
18f452 | 18f452_debug.jal
18f4550 | 18f4550_debug.jal
18f4620 | 18f4620_network_webserver_enc28j60.jal
18f4620 | 18f4620_network_udp_client.jal
18f4620 | 18f4620_network_all_in_one.jal
18f4620 | 18f4620_network_tcp_client.jal
18f4620 | 18f4620_network_ping.jal
18f4620 | 18f4620_network_slip_isr_ping_udp.jal
18f4620 | 18f4620_network_tcp_server.jal
18f4620 | 18f4620_network_udp_server.jal
18f4620 | 18f4620_debug.jal
18f67j50 | 18f67j50_debug.jal
18f67j50 | 18f67j50_usb_msd_pata_hard_disk.jal
18f67j50 | 18f67j50_usb_msd_sd_card.jal
18f67j50 | 18f67j50_fat32_usb_msd_sd_card.jal
18f67j50 | 18f67j50_fat32_usb_msd_pata_hard_disk.jal