Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

MDEV-868-PRC Datasheet(PDF) 23 Page - Linx Technologies

Part # MDEV-868-PRC
Description  868MHz HumPRC??Series Remote Control Transceiver Castellation Interface, External Antenna Connection
PDF  55 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  LINX [Linx Technologies]
Direct Link  https://linxtechnologies.com/wp/
Logo LINX - Linx Technologies

MDEV-868-PRC Datasheet(HTML) 23 Page - Linx Technologies

Back Button MDEV-868-PRC Datasheet HTML 19Page - Linx Technologies MDEV-868-PRC Datasheet HTML 20Page - Linx Technologies MDEV-868-PRC Datasheet HTML 21Page - Linx Technologies MDEV-868-PRC Datasheet HTML 22Page - Linx Technologies MDEV-868-PRC Datasheet HTML 23Page - Linx Technologies MDEV-868-PRC Datasheet HTML 24Page - Linx Technologies MDEV-868-PRC Datasheet HTML 25Page - Linx Technologies MDEV-868-PRC Datasheet HTML 26Page - Linx Technologies MDEV-868-PRC Datasheet HTML 27Page - Linx Technologies Next Button
Zoom Inzoom in Zoom Outzoom out
 23 / 55 page
background image
–
–
–
–
40
41
return dx;
}
/* Function: HumProRead
** Description: This function encodes a read command to the specified
**
register address.
*/
unsigned char
/* number of encoded bytes, 3 to 4 */
HumProRead(
unsigned char *cmd,
/* out: encoded read command, length >= 4 */
unsigned char reg
/* register number to read, 0..0xff */
) {
unsigned char ra;
/* read register byte */
ra = reg ^ 0x80;
return HumProCommand(cmd, &ra, 1);
}
/* Function: HumProWrite
** Description: This function encodes a command to write a single byte to
**
a specified register address.
*/
unsigned char
/* number of encoded bytes, 4 to 6 */
HumProWrite(
unsigned char *cmd,
/* out: encoded read command, length >= 6 */
unsigned char reg,
/* register number to write, 0..0xff */
unsigned char val
/* value byte, 0..0xff */
) {
unsigned char cs[2];
cs[0] = reg;
cs[1] = val;
return HumProCommand(cmd, &cs, 2);
}
Example Code for Encoding Read/Write Commands
This software example is provided as a courtesy in “as is” condition. Linx
Technologies makes no guarantee, representation, or warranty, whether
express, implied, or statutory, regarding the suitability of the software for
use in a specific application. The company shall not, in any circumstances,
be liable for special, incidental, or consequential damages, for any reason
whatsoever.
File EncodeProCmd.c
/* Sample C code for encoding Hum-fff-PRO commands
**
** Copyright 2015 Linx Technologies
** 159 Ort Lane
** Merlin, OR, US 97532
** www.linxtechnologies.com
**
** License:
** Permission is granted to use and modify this code, without royalty, for
** any purpose, provided the copyright statement and license are included.
*/
#include “EncodeProCmd.h”
/* Function: HumProCommand
** Description: This function encodes a command byte sequence.
**
If len = 1, a read command is generated.
**
If len > 1, a write command is generated.
**
rcmd[0] = register number
**
rcmd[1..(n-1)] = bytes to write
*/
unsigned char
/* number of encoded bytes, n+2 to 2*n+2 */
HumProCommand(
unsigned char *ecmd,
/* out: encoded command, length >= 2*n + 2 */
const unsigned char *rcmd,
/* in: sequence of bytes to encode */
unsigned char n
/* number of bytes in rcmd, 1..32 */
) {
unsigned char dx;
/* destination index */
unsigned char sx;
/* source index */
unsigned char v;
/* value to be encoded */
dx = 2;
sx = 0;
while (n--) {
v = rcmd[sx++];
if (v >= 0xf0) {
ecmd[dx++] = 0xfe;
v &= 0x7f;
}
ecmd[dx++] = v;
}
ecmd[0] = 0xff;
ecmd[1] = dx - 2;



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com