101-0547 Rabbit Semiconductor, 101-0547 Datasheet - Page 57

no-image

101-0547

Manufacturer Part Number
101-0547
Description
COMPUTER SNGLBD BL2130 FRCTNLOCK
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 101-0547

Module/board Type
Single Board Computer Module
For Use With/related Products
BL2130
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
PARAMETERS
User’s Manual
void anaOutDriver(int power_control,
Sets the voltage of a D/A converter output channel by serially clocking in 16 bits to a D/A converter
using the following format:
power_control is the D/A converter power control option (0—normal (default) or 1—powerdown).
When the power-down mode is selected, the only other parameter that is used is the D/A converter chan-
nel (channel). The values of the other parameters are not considered.
Two D/A converter channels are affected when putting a D/A converter output in powerdown or normal
mode.
int speed_control, int channel,
unsigned int rawcount);
D15, D12
D14
D13
D11–D0
Powerdown Mode:
Normal Mode:
Register R1, Register R0
00—Write data to DAC OUTB
01—Write data to buffer
10—Write data to DAC OUTA
11—Reserved
Speed control
0—slow
1—fast (default)
Power control
0—normal (default)
1—powerdown
Data bits, MSB–LSB (0–4095)
When power_control equals 1 and channel is 0 or 1, then both D/A converter channels 0
and 1 are put in powerdown mode (channels 2 and 3 not affected).
When power_control equals 1 and channel is 2 or 3, then both D/A converter channels 2
and 3 are put in powerdown mode (channels 0 and 1 not affected).
When power_control equals 1 and channel is 0 or 1, then both D/A converter channels 0
and 1 are put in normal mode. (channels 2 and 3 not affected).
When power_control equals 1 and channel is 2 or 3, then both D/A converter channels 2
and 3 are put in normal mode (channels 0 and 1 not affected).
51

Related parts for 101-0547