Component: RC5 (EB060, Generic 36KHz) (Wireless)
Author | Matrix Ltd. |
Version | 1.1 |
Category | Wireless |
Contents
RC5 (EB060, Generic 36KHz) component
Low level routines for controlling a standard RC5 IR interface. Also available in the form of the EB060 RC5 E-block.
Examples
No additional examples
Downloadable macro reference
CollectData
Retreives a value from the last successful RC5 reception.
0 = Read Command
1 = Read Address
2 = Read Toggle Bit
Parameters
- BYTE selection
Return value
RXDisable
No additional information
Parameters
- This macro has no parameters
Return value
- This call does not return a value
TXPacket
No additional information
Parameters
- BYTE command
- BYTE address
- BYTE toggle
Return value
- This call does not return a value
TXEnable
No additional information
Parameters
- This macro has no parameters
Return value
- This call does not return a value
CheckRx
Checks to see if a new RC5 packet has been received.
Returns 0 to signify no new data available.
Returns 1 to signify there is new data available.
Parameters
- This macro has no parameters
Return value
TXDisable
No additional information
Parameters
- This macro has no parameters
Return value
- This call does not return a value
RXEnable
No additional information
Parameters
- This macro has no parameters
Return value
- This call does not return a value
Simulation macro reference
This component does not contain any simulation macros
Property reference
IR Frequency
This property is of type Unsigned integer and can be referenced with the variable name ir_freq.
No additional information
Receive Mode
This property is of type Fixed list of ints and can be referenced with the variable name rx_mode.
No additional information
Invert Signal
This property is of type True or false and can be referenced with the variable name rx_invert_signal.
No additional information
Address Mask
This property is of type Fixed list of ints and can be referenced with the variable name rx_addr_mask.
No additional information
Receive Pin
This property is of type Single digital pin and can be referenced with the variable name rx_pin.
No additional information
Transmit Mode
This property is of type Fixed list of ints and can be referenced with the variable name tx_mode.
No additional information
Modulation
This property is of type Fixed list of ints and can be referenced with the variable name tx_modulation.
No additional information
PWM Channel
This property is of type Fixed list of ints and can be referenced with the variable name tx_pwm_chan.
No additional information
Transmit Pin
This property is of type Single digital pin and can be referenced with the variable name tx_pin.
No additional information
PWM Pin
This property is of type Single digital pin and can be referenced with the variable name tx_pwm_pin.
No additional information
Remap Pin
This property is of type Fixed list of ints and can be referenced with the variable name RemapPin.
No additional information
Label
This property is of type Line of text and can be referenced with the variable name label.
No additional information