TM STM32Fxxx HAL Libraries  v1.0.0
Libraries for STM32Fxxx (F0, F4 and F7 series) devices based on HAL drivers from ST from Tilen Majerle

Library defines. More...

Macros

#define ONEWIRE_DELAY(x)   Delay(x)
 
#define ONEWIRE_LOW(structure)   TM_GPIO_SetPinLow((structure)->GPIOx, (structure)->GPIO_Pin)
 
#define ONEWIRE_HIGH(structure)   TM_GPIO_SetPinHigh((structure)->GPIOx, (structure)->GPIO_Pin)
 
#define ONEWIRE_INPUT(structure)   TM_GPIO_SetPinAsInput(structure->GPIOx, (structure)->GPIO_Pin)
 
#define ONEWIRE_OUTPUT(structure)   TM_GPIO_SetPinAsOutput(structure->GPIOx, (structure)->GPIO_Pin)
 
#define ONEWIRE_CMD_RSCRATCHPAD   0xBE
 
#define ONEWIRE_CMD_WSCRATCHPAD   0x4E
 
#define ONEWIRE_CMD_CPYSCRATCHPAD   0x48
 
#define ONEWIRE_CMD_RECEEPROM   0xB8
 
#define ONEWIRE_CMD_RPWRSUPPLY   0xB4
 
#define ONEWIRE_CMD_SEARCHROM   0xF0
 
#define ONEWIRE_CMD_READROM   0x33
 
#define ONEWIRE_CMD_MATCHROM   0x55
 
#define ONEWIRE_CMD_SKIPROM   0xCC
 

Detailed Description

Library defines.