Home
last modified time | relevance | path

Searched refs:stopbits (Results 1 – 25 of 511) sorted by relevance

12345678910>>...21

/dports/comms/p5-Device-SerialPort/Device-SerialPort-1.04/
H A Dmodemtest109 my ($device,$baudrate,$databits,$parity,$stopbits,$handshake)=@ARGV;
114 $stopbits ||= "1";
165 my @stopbits=$port->stopbits;
167 grep(print("\t$_\n"),sort { $b <=> $a } @stopbits);
169 $stopbits=$port->stopbits($stopbits);
170 print "Got stopbits: $stopbits\n";
/dports/devel/arduino-core/Arduino-b439a77/libraries/WiFi/extras/wifiHD/src/SOFTWARE_FRAMEWORK/DRIVERS/USART/
H A Dusart.c298 opt->stopbits > 2 + 255 || in usart_init_rs232()
317 if (opt->stopbits > USART_2_STOPBITS) in usart_init_rs232()
322 usart->ttgr = opt->stopbits - USART_2_STOPBITS; in usart_init_rs232()
350 opt->stopbits == 1 || opt->stopbits > 2 + 255 || in usart_init_rs232_tx_only()
369 if (opt->stopbits > USART_2_STOPBITS) in usart_init_rs232_tx_only()
374 usart->ttgr = opt->stopbits - USART_2_STOPBITS; in usart_init_rs232_tx_only()
430 opt->stopbits == 1 || opt->stopbits > 2 + 255 || in usart_init_sync_master()
449 if (opt->stopbits > USART_2_STOPBITS) in usart_init_sync_master()
454 usart->ttgr = opt->stopbits - USART_2_STOPBITS; in usart_init_sync_master()
483 opt->stopbits == 1 || opt->stopbits > 2 + 255 || in usart_init_sync_slave()
[all …]
/dports/devel/arduino-core/Arduino-b439a77/libraries/WiFi/extras/wifi_dnld/src/SOFTWARE_FRAMEWORK/DRIVERS/USART/
H A Dusart.c298 opt->stopbits > 2 + 255 || in usart_init_rs232()
317 if (opt->stopbits > USART_2_STOPBITS) in usart_init_rs232()
322 usart->ttgr = opt->stopbits - USART_2_STOPBITS; in usart_init_rs232()
350 opt->stopbits == 1 || opt->stopbits > 2 + 255 || in usart_init_rs232_tx_only()
369 if (opt->stopbits > USART_2_STOPBITS) in usart_init_rs232_tx_only()
374 usart->ttgr = opt->stopbits - USART_2_STOPBITS; in usart_init_rs232_tx_only()
430 opt->stopbits == 1 || opt->stopbits > 2 + 255 || in usart_init_sync_master()
449 if (opt->stopbits > USART_2_STOPBITS) in usart_init_sync_master()
454 usart->ttgr = opt->stopbits - USART_2_STOPBITS; in usart_init_sync_master()
483 opt->stopbits == 1 || opt->stopbits > 2 + 255 || in usart_init_sync_slave()
[all …]
/dports/devel/arduino-core/Arduino-b439a77/hardware/arduino/avr/firmwares/wifishield/wifiHD/src/SOFTWARE_FRAMEWORK/DRIVERS/USART/
H A Dusart.c298 opt->stopbits > 2 + 255 || in usart_init_rs232()
317 if (opt->stopbits > USART_2_STOPBITS) in usart_init_rs232()
322 usart->ttgr = opt->stopbits - USART_2_STOPBITS; in usart_init_rs232()
350 opt->stopbits == 1 || opt->stopbits > 2 + 255 || in usart_init_rs232_tx_only()
369 if (opt->stopbits > USART_2_STOPBITS) in usart_init_rs232_tx_only()
374 usart->ttgr = opt->stopbits - USART_2_STOPBITS; in usart_init_rs232_tx_only()
430 opt->stopbits == 1 || opt->stopbits > 2 + 255 || in usart_init_sync_master()
449 if (opt->stopbits > USART_2_STOPBITS) in usart_init_sync_master()
454 usart->ttgr = opt->stopbits - USART_2_STOPBITS; in usart_init_sync_master()
483 opt->stopbits == 1 || opt->stopbits > 2 + 255 || in usart_init_sync_slave()
[all …]
/dports/devel/arduino-core/Arduino-b439a77/hardware/arduino/avr/firmwares/wifishield/wifi_dnld/src/SOFTWARE_FRAMEWORK/DRIVERS/USART/
H A Dusart.c298 opt->stopbits > 2 + 255 || in usart_init_rs232()
317 if (opt->stopbits > USART_2_STOPBITS) in usart_init_rs232()
322 usart->ttgr = opt->stopbits - USART_2_STOPBITS; in usart_init_rs232()
350 opt->stopbits == 1 || opt->stopbits > 2 + 255 || in usart_init_rs232_tx_only()
369 if (opt->stopbits > USART_2_STOPBITS) in usart_init_rs232_tx_only()
374 usart->ttgr = opt->stopbits - USART_2_STOPBITS; in usart_init_rs232_tx_only()
430 opt->stopbits == 1 || opt->stopbits > 2 + 255 || in usart_init_sync_master()
449 if (opt->stopbits > USART_2_STOPBITS) in usart_init_sync_master()
454 usart->ttgr = opt->stopbits - USART_2_STOPBITS; in usart_init_sync_master()
483 opt->stopbits == 1 || opt->stopbits > 2 + 255 || in usart_init_sync_slave()
[all …]
/dports/emulators/gxemul/gxemul-0.6.3/src/devices/
H A Ddev_ns16550.cc70 const char *stopbits; member
248 case 0: d->databits = 5; d->stopbits = "1"; break; in DEVICE_ACCESS()
249 case 1: d->databits = 6; d->stopbits = "1"; break; in DEVICE_ACCESS()
250 case 2: d->databits = 7; d->stopbits = "1"; break; in DEVICE_ACCESS()
251 case 3: d->databits = 8; d->stopbits = "1"; break; in DEVICE_ACCESS()
252 case 4: d->databits = 5; d->stopbits = "1.5"; break; in DEVICE_ACCESS()
253 case 5: d->databits = 6; d->stopbits = "2"; break; in DEVICE_ACCESS()
254 case 6: d->databits = 7; d->stopbits = "2"; break; in DEVICE_ACCESS()
255 case 7: d->databits = 8; d->stopbits = "2"; break; in DEVICE_ACCESS()
274 d->databits, d->parity, d->stopbits); in DEVICE_ACCESS()
[all …]
/dports/comms/fldigi/fldigi-4.1.20/src/include/
H A Dserial.h77 void Stopbits(int n) { stopbits = n; } in Stopbits()
78 int Stopbits() { return stopbits;} in Stopbits()
102 int stopbits; variable
119 stopbits = 2; in Cserial()
190 void Stopbits(int n) { stopbits = n; } in Stopbits()
191 int Stopbits() { return stopbits;} in Stopbits()
228 int stopbits; variable
/dports/astro/gpsd/gpsd-3.20/
H A Dserial.c243 int stopbits = 0; in gpsd_get_stopbits() local
245 stopbits = 1; in gpsd_get_stopbits()
247 stopbits = 2; in gpsd_get_stopbits()
248 return stopbits; in gpsd_get_stopbits()
264 speed_t speed, char parity, unsigned int stopbits) in gpsd_set_speed() argument
329 || stopbits != session->gpsdata.dev.stopbits) { in gpsd_set_speed()
432 stopbits); in gpsd_set_speed()
436 session->gpsdata.dev.stopbits = stopbits; in gpsd_set_speed()
656 session->gpsdata.dev.stopbits = 1; in gpsd_serial_open()
730 if (session->gpsdata.dev.stopbits++ >= 2) { in gpsd_next_hunt_setting()
[all …]
H A Dgpsctl.c528 char stopbits = '1'; in main() local
550 stopbits = *++modespec; in main()
561 device, speed, parity, stopbits); in main()
567 speed, parity, stopbits); in main()
573 speed, parity, stopbits); in main()
774 int stopbits = echo ? 1 : session.gpsdata.dev.stopbits; in main() local
792 stopbits = *++modespec; in main()
798 stopbits = (int)(stopbits-'0'); in main()
810 stopbits)) { in main()
815 speed, parity, stopbits); in main()
[all …]
/dports/comms/flrig/flrig-1.3.54/src/include/
H A Dserial.h80 void Stopbits(int n) {stopbits = (n == 1 ? 1 : 2);} in Stopbits()
81 int Stopbits() { return stopbits;} in Stopbits()
105 int stopbits; variable
182 void Stopbits(int n) {stopbits = (n == 1 ? 1 : 2);} in Stopbits()
183 int Stopbits() { return stopbits;} in Stopbits()
220 int stopbits; variable
/dports/emulators/dosbox/dosbox-0.74-3/src/hardware/serialport/
H A Ddirectserial.cpp267 Bit8u stopbits; in updatePortConfig() local
269 if (bytelength == 5) stopbits = SERIAL_15STOP; in updatePortConfig()
270 else stopbits = SERIAL_2STOP; in updatePortConfig()
271 } else stopbits = SERIAL_1STOP; in updatePortConfig()
273 if(!SERIAL_setCommParameters(comport, baudrate, parity, stopbits, bytelength)) { in updatePortConfig()
278 COMNUMBER, baudrate,bytelength,parity,stopbits); in updatePortConfig()
/dports/emulators/dosbox-staging/dosbox-staging-0.78.0/src/hardware/serialport/
H A Ddirectserial.cpp268 uint8_t stopbits; in updatePortConfig() local
270 if (bytelength == 5) stopbits = SERIAL_15STOP; in updatePortConfig()
271 else stopbits = SERIAL_2STOP; in updatePortConfig()
272 } else stopbits = SERIAL_1STOP; in updatePortConfig()
274 if(!SERIAL_setCommParameters(comport, baudrate, parity, stopbits, bytelength)) { in updatePortConfig()
280 GetPortNumber(), baudrate, bytelength, parity, stopbits); in updatePortConfig()
/dports/sysutils/powerman/powerman-2.3.20/powermand/
H A Ddevice_serial.c112 char parity, int stopbits) in _serial_setup() argument
150 switch (stopbits) { in _serial_setup()
158 err(FALSE, "%s: error setting stop bits to %d", devname, stopbits); in _serial_setup()
199 int baud = 9600, databits = 8, stopbits = 1; in serial_connect() local
237 n = sscanf(ser->flags, "%d,%d%c%d", &baud, &databits, &parity, &stopbits); in serial_connect()
239 res = _serial_setup(dev->name, dev->fd, baud, databits, parity, stopbits); in serial_connect()
/dports/games/libretro-dosbox/dosbox-libretro-aa71b67/src/hardware/serialport/
H A Ddirectserial.cpp266 Bit8u stopbits; in updatePortConfig() local
268 if (bytelength == 5) stopbits = SERIAL_15STOP; in updatePortConfig()
269 else stopbits = SERIAL_2STOP; in updatePortConfig()
270 } else stopbits = SERIAL_1STOP; in updatePortConfig()
272 if(!SERIAL_setCommParameters(comport, baudrate, parity, stopbits, bytelength)) { in updatePortConfig()
277 COMNUMBER, baudrate,bytelength,parity,stopbits); in updatePortConfig()
/dports/comms/py-pyserial/pyserial-3.5/test/
H A Dtest_advanced.py96 for stopbits in (1, 2):
97 self.s.stopbits = stopbits
99 self.assertEqual(self.s.stopbits, stopbits)
101 self.assertEqual(self.s._stopbits, stopbits)
/dports/devel/libsigrok/libsigrok-0.5.2/src/
H A Dserial_hid_cp2110.c95 int baudrate, int bits, int parity, int stopbits, in cp2110_set_params() argument
132 switch (stopbits) { in cp2110_set_params()
134 stopbits = CP2110_STOPBITS_SHORT; in cp2110_set_params()
137 stopbits = CP2110_STOPBITS_LONG; in cp2110_set_params()
140 sr_err("CP2110: unknown stop bits spec %d", stopbits); in cp2110_set_params()
187 report[replen++] = stopbits; in cp2110_set_params()
/dports/devel/py-pyusb/pyusb-1.0.2/tools/
H A Dvcp_terminal.py119 self.stopbits = 1
256 databits=None, stopbits=None): argument
263 if stopbits is not None:
264 if stopbits not in sbits.keys():
267 self.stopbits = stopbits
294 stopbits=sbits[self.stopbits],
303 sbits[self.stopbits],
338 def _setLineCodeFTDI(self, bits, stopbits, parity, breaktype=0): argument
343 value += stopbits << 11
416 self.stopbits = 1 + (buf[4] / 2.0)
[all …]
/dports/astro/p5-Net-GPSD3/Net-GPSD3-0.19/t/
H A D007_DEVICE.t9 …7,"flags":1,"driver":"Generic NMEA","native":0,"bps":4800,"parity":"N","stopbits":1,"cycle":1.00});
20 "stopbits":1,
42 is($object->stopbits, '1', 'stopbits');
H A D006_DEVICES.t9 …7,"flags":1,"driver":"Generic NMEA","native":0,"bps":4800,"parity":"N","stopbits":1,"cycle":1.00}]…
21 "stopbits":1,
60 …7,"flags":1,"driver":"Generic NMEA","native":0,"bps":4800,"parity":"N","stopbits":1,"cycle":1.00}'…
68 is($device->stopbits, '1', 'stopbits');
/dports/www/domoticz/domoticz-2020.2/hardware/
H A DRFXBase.cpp184 uint8_t baudrate = 0, parity = 0, databits = 0, stopbits = 0, polarity = 0; in Set_Async_Parameters() local
195 stopbits = asyncStopbits1; in Set_Async_Parameters()
205 stopbits = asyncStopbits1; in Set_Async_Parameters()
214 stopbits = asyncStopbits1; in Set_Async_Parameters()
223 stopbits = asyncStopbits1; in Set_Async_Parameters()
239 cmd.ASYNCPORT.stopbits = stopbits; in Set_Async_Parameters()
/dports/sysutils/conman/conman-conman-0.3.0/
H A Dserver-serial.c152 &parityTmp, &optsTmp.stopbits); in parse_serial_opts()
194 if ((optsTmp.stopbits < 1) || (optsTmp.stopbits > 2)) { in parse_serial_opts()
270 assert((opts->stopbits >= 1) && (opts->stopbits <= 2)); in set_serial_opts()
274 opts->databits, parity_to_str(opts->parity), opts->stopbits)); in set_serial_opts()
308 if (opts->stopbits == 2) { in set_serial_opts()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/pyserial/serial/
H A Dserialutil.py243 stopbits=STOPBITS_ONE, # number of stop bits argument
273 self.stopbits = stopbits
380 def setStopbits(self, stopbits): argument
382 … if stopbits not in self.STOPBITS: raise ValueError("Not a valid stop bit size: %r" % (stopbits,))
383 self._stopbits = stopbits
390 stopbits = property(getStopbits, setStopbits, doc="Stop bits setting") variable in SerialBase
516 self.stopbits,
/dports/devel/py-twisted/Twisted-22.1.0/src/twisted/internet/
H A D_posixserialport.py34 stopbits=STOPBITS_ONE, argument
45 stopbits=stopbits,
/dports/comms/py-pyserial/pyserial-3.5/serial/
H A Dserialutil.py185 stopbits=STOPBITS_ONE, argument
226 self.stopbits = stopbits
342 def stopbits(self): member in SerialBase
346 @stopbits.setter
347 def stopbits(self, stopbits): argument
349 if stopbits not in self.STOPBITS:
350 raise ValueError("Not a valid stop bit size: {!r}".format(stopbits))
351 self._stopbits = stopbits
/dports/math/vtk6/VTK-6.2.0/ThirdParty/Twisted/twisted/internet/
H A D_posixserialport.py33 stopbits = STOPBITS_ONE, timeout = 0, xonxoff = 0, rtscts = 0): argument
37 parity=parity, stopbits=stopbits, timeout=timeout,

12345678910>>...21