c1wireswitch 2.1.0.0
1-Wire Switch Commands List

List of commands of 1-Wire Switch Click driver. More...

Macros

#define C1WIRESWITCH_CMD_WRITE_SCRATCHPAD   0x5A
 1-Wire Switch commands list.
 
#define C1WIRESWITCH_CMD_READ_SCRATCHPAD   0xF5
 
#define C1WIRESWITCH_CMD_WRITE_PIO   0x5A
 
#define C1WIRESWITCH_CMD_READ_PIO   0xF5
 
#define C1WIRESWITCH_PIOB_STATE_MASK   0x04
 1-Wire Switch PIO state masks.
 
#define C1WIRESWITCH_PIOA_STATE_MASK   0x01
 
#define C1WIRESWITCH_PIOB_LATCH_STATE_MASK   0x08
 
#define C1WIRESWITCH_PIOA_LATCH_STATE_MASK   0x02
 
#define C1WIRESWITCH_PIOA_HIGH   0x01
 1-Wire Switch PIO states.
 
#define C1WIRESWITCH_PIOA_LOW   0x00
 
#define C1WIRESWITCH_PIOB_HIGH   0x04
 
#define C1WIRESWITCH_PIOB_LOW   0x00
 
#define C1WIRESWITCH_PIOB_ON   0x02
 
#define C1WIRESWITCH_PIOB_OFF   0x00
 
#define C1WIRESWITCH_PIOA_ON   0x00
 
#define C1WIRESWITCH_PIOA_OFF   0x01
 
#define C1WIRESWITCH_PIOB_LATCH_LOW   0x00
 
#define C1WIRESWITCH_PIOB_LATCH_HIGH   0x08
 
#define C1WIRESWITCH_PIOA_LATCH_LOW   0x00
 
#define C1WIRESWITCH_PIOA_LATCH_HIGH   0x02
 

Detailed Description

List of commands of 1-Wire Switch Click driver.

Macro Definition Documentation

◆ C1WIRESWITCH_CMD_READ_PIO

#define C1WIRESWITCH_CMD_READ_PIO   0xF5

◆ C1WIRESWITCH_CMD_READ_SCRATCHPAD

#define C1WIRESWITCH_CMD_READ_SCRATCHPAD   0xF5

◆ C1WIRESWITCH_CMD_WRITE_PIO

#define C1WIRESWITCH_CMD_WRITE_PIO   0x5A

◆ C1WIRESWITCH_CMD_WRITE_SCRATCHPAD

#define C1WIRESWITCH_CMD_WRITE_SCRATCHPAD   0x5A

1-Wire Switch commands list.

Specified commands list of 1-Wire Switch Click driver.

◆ C1WIRESWITCH_PIOA_HIGH

#define C1WIRESWITCH_PIOA_HIGH   0x01

1-Wire Switch PIO states.

Specified PIO states of 1-Wire Switch Click driver.

◆ C1WIRESWITCH_PIOA_LATCH_HIGH

#define C1WIRESWITCH_PIOA_LATCH_HIGH   0x02

◆ C1WIRESWITCH_PIOA_LATCH_LOW

#define C1WIRESWITCH_PIOA_LATCH_LOW   0x00

◆ C1WIRESWITCH_PIOA_LATCH_STATE_MASK

#define C1WIRESWITCH_PIOA_LATCH_STATE_MASK   0x02

◆ C1WIRESWITCH_PIOA_LOW

#define C1WIRESWITCH_PIOA_LOW   0x00

◆ C1WIRESWITCH_PIOA_OFF

#define C1WIRESWITCH_PIOA_OFF   0x01

◆ C1WIRESWITCH_PIOA_ON

#define C1WIRESWITCH_PIOA_ON   0x00

◆ C1WIRESWITCH_PIOA_STATE_MASK

#define C1WIRESWITCH_PIOA_STATE_MASK   0x01

◆ C1WIRESWITCH_PIOB_HIGH

#define C1WIRESWITCH_PIOB_HIGH   0x04

◆ C1WIRESWITCH_PIOB_LATCH_HIGH

#define C1WIRESWITCH_PIOB_LATCH_HIGH   0x08

◆ C1WIRESWITCH_PIOB_LATCH_LOW

#define C1WIRESWITCH_PIOB_LATCH_LOW   0x00

◆ C1WIRESWITCH_PIOB_LATCH_STATE_MASK

#define C1WIRESWITCH_PIOB_LATCH_STATE_MASK   0x08

◆ C1WIRESWITCH_PIOB_LOW

#define C1WIRESWITCH_PIOB_LOW   0x00

◆ C1WIRESWITCH_PIOB_OFF

#define C1WIRESWITCH_PIOB_OFF   0x00

◆ C1WIRESWITCH_PIOB_ON

#define C1WIRESWITCH_PIOB_ON   0x02

◆ C1WIRESWITCH_PIOB_STATE_MASK

#define C1WIRESWITCH_PIOB_STATE_MASK   0x04

1-Wire Switch PIO state masks.

Specified PIO state masks of 1-Wire Switch Click driver.