Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

MANEJADOR RS232

Rating
-
Sold
-
Pages
38
Grade
A+
Uploaded on
06-08-2025
Written in
2025/2026

Exam of 38 pages for the course MANEJADOR RS232 at MANEJADOR RS232 (MANEJADOR RS232)

Institution
Course

Content preview

MANEJADOR
MANEJADOR

RS232



Adai Bujeda Ateca
Guayasén González Santiago




© Universidad de Las Palmas de Gran Canaria

,Indice
Introducción ___________________________________________________________________3
Protocolo RS-232-C______________________________________________________________5
Descripción de la UART __________________________________________________________6
Relación con TTY ______________________________________________________________11
Estructura RS-232 ______________________________________________________________13
Constantes____________________________________________________________________15
Macros ______________________________________________________________________17
Funciones ____________________________________________________________________18
rs_write(tp) _______________________________________________________________18
rs_echo (tp, c)______________________________________________________________26
rs_ioctl (tp) ________________________________________________________________28
rs_config (rs) ______________________________________________________________21
in_int(rs) ____________________________________________¡Error! Marcador no definido.
Rs_init (tp) ________________________________________________________________18
Rs_icancel (tp) _____________________________________________________________28
Rs_ocancel (tp) ____________________________________________________________28
Rs_read (tp) _______________________________________________________________26
Rs_ostart (rs) ______________________________________________________________26
Rs_break (tp) ______________________________________________________________29
Rs232_1handler (tp) ________________________________________________________29
Rs232_2handler (tp) ________________________________________________________30
line_int (rs) ________________________________________________________________34
modem_int (rs) ____________________________________________________________34
out_int (rs) __________________________________________¡Error! Marcador no definido.
Preguntas ____________________________________________________________________35
Anexo _______________________________________________________________________36

,Introducción

Este driver es el encargado la transmisión y recepción de datos a través de
los puertos serie del ordenador. Gracias a el se soporta la utilización de
terminales remotos o la conexión vía módem con otros ordenadores, entre
otras cosas. Incluye las funciones de control sobre los dispositivos hardware
encargados del manejo de las comunicaciones serie. En el caso de las
máquinas tipo IBM PC y compatibles (basadas en la familia de
microprocesadores intel), sobre las que se ejecuta el minix, la gestión de los
puertos RS-232 se realiza mediante las UARTs (Universal Asynchronous
Receiver-Transmitter, receptor-emisor asíncrono universal) 8250 y 16450.

El objetivo último de este driver es proporcionarnos un servicio de
comunicación básico mediante una línea RS-232, obviando todo lo referente
al hardware específico que estemos utilizando. Cualquier proceso que haga
uso de estas funciones (por ejemplo el tty.c) puede olvidarse de cuestiones
como la programación mediante puertos I/O de la UART, y centrarse en su
propio objetivo.


Con el objetivo de facilitar la comprensión del código, se ha incluido una
breve descripción de los controladores hardware, donde se detallan
principalmente los registros que definen el funcionamiento de los
dispositivos.
Un controlador de líneas serie consta, en general, de tres tipos de registros:
- Registros de datos. Generalmente son dos registros, uno de entrada y
otro de salida, donde se colocará o de donde se leerá la i
que estemos tratando.
- Registros de control. Permiten la programación de la interfase (elección
del modo síncrono/asíncrono, velocidad de transmisión Nº de bits de
stop, etc...)

, - Registros de estado. Este registro contendrá los indicadores de error que
se pueden haber producido, tanto en la recepción como en la
transmisión de datos.

Written for

Course

Document information

Uploaded on
August 6, 2025
Number of pages
38
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$9.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
NurseTutor01

Get to know the seller

Seller avatar
NurseTutor01 Chamberlain College of Nursing
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
11 months
Number of followers
0
Documents
513
Last sold
-
NurseTutor

I have solutions for following subjects: Nursing, Business, Accounting, statistics, chemistry, Biology and all other subjects. Nursing Being my main profession line, I have essential guides that are Almost A+ graded, I am a very friendly person: If you would not agreed with my solutions I am ready for refund

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions