stm32-async-1wire 3.2.0
Non-blocking 1-Wire master for STM32 with DS18B20 temperature and DS2431 EEPROM drivers
Loading...
Searching...
No Matches
DS2413 Exported Constants

Macros

#define DS2413_FAMILY_CODE   0x3Au
 DS2413 1-Wire family code (LSB of the 64-bit ROM address).
#define DS2413_ROM_BYTES   8u
 Number of bytes in a device ROM address.
#define DS2413_BITS_PER_BYTE   8u
 Standard 8 bits per byte.
#define DS2413_PIOA   0x01u
 PIOA channel bit in a state byte.
#define DS2413_PIOB   0x02u
 PIOB channel bit in a state byte.
#define DS2413_PIO_MASK   0x03u
 Both PIO channels.
#define DS2413_CMD_READ   0xF5u
 PIO Access Read command.
#define DS2413_CMD_WRITE   0x5Au
 PIO Access Write command.
#define DS2413_ACK   0xAAu
 Acknowledge byte returned by a successful PIO Access Write.
#define DS2413_NO_RESPONSE   0xFFu
 Reply byte when the device did not answer.

Detailed Description

Macro Definition Documentation

◆ DS2413_ACK

#define DS2413_ACK   0xAAu

Acknowledge byte returned by a successful PIO Access Write.

◆ DS2413_BITS_PER_BYTE

#define DS2413_BITS_PER_BYTE   8u

Standard 8 bits per byte.

◆ DS2413_CMD_READ

#define DS2413_CMD_READ   0xF5u

PIO Access Read command.

◆ DS2413_CMD_WRITE

#define DS2413_CMD_WRITE   0x5Au

PIO Access Write command.

◆ DS2413_FAMILY_CODE

#define DS2413_FAMILY_CODE   0x3Au

DS2413 1-Wire family code (LSB of the 64-bit ROM address).

◆ DS2413_NO_RESPONSE

#define DS2413_NO_RESPONSE   0xFFu

Reply byte when the device did not answer.

◆ DS2413_PIO_MASK

#define DS2413_PIO_MASK   0x03u

Both PIO channels.

◆ DS2413_PIOA

#define DS2413_PIOA   0x01u

PIOA channel bit in a state byte.

◆ DS2413_PIOB

#define DS2413_PIOB   0x02u

PIOB channel bit in a state byte.

◆ DS2413_ROM_BYTES

#define DS2413_ROM_BYTES   8u

Number of bytes in a device ROM address.