Array of delay values for the different command phases.
More...
Detailed Description
Array of delay values for the different command phases.
Typedef Documentation
Function Documentation
Register the One-Wire bus.
- Parameters:
-
bus | The returned NUTOWIBUS. |
txrx_port | The port to use for the One_Wire bus. |
txrx_pin | The pin to use for the One_Wire bus. |
pullup_port | If given, port to control strong pull-up for parasitic powered devices. |
pullup_pin | The pin to control strong pull-up for parasitic powered devices. |
- Returns:
- OWI_SUCCESS on success, a negative value otherwise.
References calloc, free(), GPIO_CFG_MULTIDRIVE, GPIO_CFG_OUTPUT, GPIO_CFG_PULLUP, GpioPinConfigSet(), GpioPinSetHigh, _NUTOWIBUS::mode, NULL, OWI_INVALID_HW, OWI_OUT_OF_MEM, OWI_SUCCESS, _NUTOWIBUS::owibus_info, _NUTOWIBUS::OwiReadBlock, _NUTOWIBUS::OwiTouchReset, _NUTOWIBUS::OwiWriteBlock, _NUTOWIINFO_BB::pp_pin, _NUTOWIINFO_BB::pp_port, _NUTOWIINFO_BB::txrx_pin, and _NUTOWIINFO_BB::txrx_port.
Variable Documentation