TOOTHPIC RF Solutions, TOOTHPIC Datasheet - Page 106

MODULE, BLUETOOTH, DATA ACQUISITION

TOOTHPIC

Manufacturer Part Number
TOOTHPIC
Description
MODULE, BLUETOOTH, DATA ACQUISITION
Manufacturer
RF Solutions
Datasheet

Specifications of TOOTHPIC

Svhc
No SVHC (15-Dec-2010)
Low Voltage Detect
The PIC18LF6720’s Low Voltage Detect is available for developer use on the AN4 pin. Developers will need
to consult PIC18LF6720 documentation to use this feature.
Memory Managment
Overview
ToothPIC provides functions for reading and writing data to RAM, ROM, EE and External memory. A storage
type flag specifies which type of memory is to be written to or read.
GetBytes
The service GetBytes retrieves nBytes bytes of data from memory mStr at address Addr and places them
in the buffer pData:
SetBytes
The service SetBytes sets nBytes bytes of data in memory mStr at address Addr to the values specified
by buffer pRData if it is non-zero, or pData otherwise:
SetBytes reads existing non-volatile memory before writing and does not re-write it if it is already correct.
This extends memory life. SetBytes will verify non-volatile memory after writing. If the verify fails, the
SetBytes will retry a total of 100 times.
ERR_MEMORYFAILURE.
Notes:
STR_RAM: Internal RAM locations 0x0100 to 0x9FF are mapped to the Addr values 0x000 to 0x8FF. The
FlexiPanel server allocates for itself as much of this memory as it requires for user interface variable storage
Page 106
void GetBytes(unsigned char mStr, unsigned short nBytes, void *pData,
void SetBytes(unsigned char mStr, unsigned short nBytes, rom void *pDataR,
Storage type flag mStr
STR_ROM00
STR_ROM01
STR_EXT0
STR_EXT1
STR_EXT2
STR_EXT3
STR_EXT4
STR_EXT5
STR_EXT6
STR_EXT7
9-Apr-06
STR_ROM
STR_RAM
STR_EE
#define
Toothpick 3.0.00007
value
0x01
0x02
0x03
0x10
0x11
0x12
0x13
0x14
0x15
0x16
0x17
0x80
0x81
unsigned short Addr)
void *pData, unsigned short Addr)
Treated as STR_ROM01 (exists mainly for
backward compatibility)
Internal RAM locations 0x0100 to 0x9FF
Internal EE locations 0x0000 to 0x03FF
External memory I2C address 0xB0 / 0xB1
External memory I2C address 0xB2 / 0xB3
External memory I2C address 0xB4 / 0xB5
External memory I2C address 0xB6 / 0xB7
External memory I2C address 0xB8 / 0xB9
External memory I2C address 0xBA / 0xBB
External memory I2C address 0xBC / 0xBD
External memory I2C address 0xBE / 0xBF
Internal Flash locations 0x00C000 to
0x00FFFF
Internal Flash locations 0x010000 to
0x01FFFF
DS380-8
© FlexiPanel Ltd
Memory type
If it still fails, it calls ErrorStatus() with error
Patents apply and/or pending
Addr address range
0x0000 – 0xFFFF
0x0000 – 0x08FF
0x0000 – 0x03FF
0xC000 – 0xFFFF
0x0000 – 0xFFFF
0x0000 – IC limit
0x0000 – IC limit
0x0000 – IC limit
0x0000 – IC limit
0x0000 – IC limit
0x0000 – IC limit
0x0000 – IC limit
0x0000 – IC limit
www.FlexiPanel.com

Related parts for TOOTHPIC