BSPACM  20150113
Board Support Package for ARM Cortex-M Microcontrollers
Data Fields
sBSPACMonewireBus Struct Reference

#include </prj/arm/bspacm/device/nrf51/include/bspacm/utility/onewire_.h>

Data Fields

int8_t dq_pin
 
int8_t pwr_pin
 
uint32_t dq_bit
 
uint32_t pwr_bit
 

Detailed Description

nRF51 variant bus configuration for one-wire devices

Field Documentation

uint32_t sBSPACMonewireBus::dq_bit

Pre-computed bit for DQ port

int8_t sBSPACMonewireBus::dq_pin

Pin for DQ signal.

Value must be in the range 0..31 inclusive.

uint32_t sBSPACMonewireBus::pwr_bit

Pre-computed bit for parasitic power.

Zero if external power used.

int8_t sBSPACMonewireBus::pwr_pin

Pin for parasitic power.

Set to -1 if external power used, otherwise must be in the range 0..31.


The documentation for this struct was generated from the following file: