| Author
|
MatrixTSL
|
| Version
|
1.0
|
| Category
|
Sensors
|
Digital Multimeter component
A component allowing access to the digital multimeter IC HY3131.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_DMM_HY3131.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_DMM_HY3131.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
Initialise
|
Initialise
|
|
|
- VOID
|
Return
|
ReadRegister
|
ReadRegister
|
| A simple example showing a generic way to read a register using I2C.
|
- BYTE
|
Address
|
|
|
- BYTE
|
Return
|
WriteRegister
|
WriteRegister
|
| A simple example showing a generic way to write a register using I2C.
|
- BYTE
|
Address
|
|
|
- BYTE
|
Data
|
|
|
- VOID
|
Return
|
Property reference
|
Properties
|
|
SPI Properties
|
|
Connections
|
|
Channel
|
| SPI Channel selector
|
|
MOSI
|
| SPI Data Out Pin SDO - Also Known as Master Out Slave In (MOSI) when used in Master mode.
|
|
MISO
|
| SPI Data In Pin SDI - Also Known as Master In Slave Out (MISO) when used in Master mode.
|
|
CLK
|
| SPI Clock Pin CLK - The Clock signal is driven by the SPI master.
|
|
Use Auto CS
|
| Allow the SPI component to manage the CS pin for us in Master mode. On initialise the CS pin is automatically set high to disable the remote SPI device. Set to No if you want to create a component with multiple CS pins or if you want to manage the CS pin yourself.
|
|
CS / SS
|
| Chip Select / Slave Select Pin Master Mode: General purpose output pin used to select the remote SPI device. Slave Mode: Hardware chip select pin input used to select the SPI device.
|
|
Options
|
|
Mode
|
| Configures the mode of the SPI component. Currently only Master mode is supported.
|
|
Prescale
|
| Prescale option selector
|
|
Clock Phase
|
| Clock Phase (data change edge) selection
|
|
Clock Polarity
|
| Clock Polarity setting, inactive (idle) state
|
|
Sample Point
|
| Data bit read sample point
|
|
Simulation
|
|
Simulate Comms
|
|
|
|
Scale
|
|
Select Scale
|
|
|