Author | Matthew Schinkel - borntechi.com, copyright (c) 2009, all rights reserved. |
Adapted-by | |
Compiler | >=2.4m |
This library allows creation of bit arrays with up to 16383 entries.
No dependency found
const byte _BIT_ARRAY_1_CALC2 = _BIT_ARRAY_1_CALC1 * 8
const byte _BIT_ARRAY_1_CALC1 = BIT_ARRAY_1_SIZE / 8
const byte _BIT_ARRAY_1_CALC3 = BIT_ARRAY_1_SIZE - _BIT_ARRAY_1_CALC1
const word _BIT_ARRAY_1_ARRAY_SIZE = (BIT_ARRAY_1_SIZE / 8)+ 1
const byte _BIT_ARRAY_1_CALC2 = _BIT_ARRAY_1_CALC1 * 8
No documentation found
const byte _BIT_ARRAY_1_CALC1 = BIT_ARRAY_1_SIZE / 8
create a byte array to hold the bits
const byte _BIT_ARRAY_1_CALC3 = BIT_ARRAY_1_SIZE - _BIT_ARRAY_1_CALC1
No documentation found
const word _BIT_ARRAY_1_ARRAY_SIZE = (BIT_ARRAY_1_SIZE / 8)+ 1
No documentation found
bit_array_1'put(word in address, bit in data)
Write to bit array
_bit_array_1_set_byte(word in byte_address, byte in bit_address, bit in data)
Writes one bit to the correct byte array (internal use only)
bit_array_1'get(word in address) return bit
Read from bit array
_bit_array_1_get_byte(word in byte_address, byte in bit_address) return bit
Reads one bit from the correct byte array (internal use only)
18f452 | 18f452_bit_array.jal |
18f4525 | 18f4525_bit_array.jal |
18f4550 | 18f4550_bit_array.jal |
18f4620 | 18f4620_bit_array.jal |
18f67j50 | 18f67j50_bit_array.jal |