Mõned mõisted
ADC - analog to digital converter
UART - Universal asynchronous receiver/transmitter
A universal asynchronous receiver/transmitter is a type of "asynchronous receiver/transmitter", a piece of computer hardware that translates data between parallel and serial forms. UARTs are commonly used in conjunction with other communication standards such as EIA RS-232. A UART is usually an individual (or part of an) integrated circuit used for serial communications over a computer or peripheral device serial port. UARTs are now commonly included in microcontrollers.
BAUD RATE - põhimõtteliselt andmeedastuskiirus
the number of distinct symbol changes (signaling events) made to the transmission medium per second in a digitally modulated signal or a line code.
#define F_OSC - määrab MC sisemise kristalli sageduse
UBRRL ja UBRRH - USART Baud Rate registrid MC'is.
UCSRA, UCSRB and UCSRC - USART Control and Status Registers A, B and C
URSEL - USART Register Select bit
When doing a write access of this I/O location, the high bit of the value written, the USART Register Select (URSEL) bit, controls which one of the two registers that will be written. If URSEL is zero during a write operation, the UBRRH value will be updated. If URSEL is one, the UCSRC setting will be updated.
UCSZ0 - The UCSZ1:0 bits combined with the UCSZ2 bit in UCSRB sets the number of data bits(character size) in a frame the Receiver and Transmitter use.
RXEN - lubab USART (serial porti) andmete vastuvõtmise
TXEN - lubab USART (serial porti) andmete saatmise
RXCIE - lubab RX interrupt'id
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment