From aef4e8398f2b1848b0e4cdd9580dbbe93e4006f9 Mon Sep 17 00:00:00 2001 From: Jorawar Singh Date: Fri, 30 Jun 2017 11:28:58 +0530 Subject: Help files, modified Raspberry Pi code conversion --- help/en_US/scilab_en_US_help/AVRUARTSetup.html | 96 ++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 help/en_US/scilab_en_US_help/AVRUARTSetup.html (limited to 'help/en_US/scilab_en_US_help/AVRUARTSetup.html') diff --git a/help/en_US/scilab_en_US_help/AVRUARTSetup.html b/help/en_US/scilab_en_US_help/AVRUARTSetup.html new file mode 100644 index 00000000..77855949 --- /dev/null +++ b/help/en_US/scilab_en_US_help/AVRUARTSetup.html @@ -0,0 +1,96 @@ + + + AVRUARTSetup + + + +
+ + + + +
+ << AVRUARTReceive + + + Scilab 2 C Converter + + + AVRUARTTransmit >> + +
+
+
+ + + + Scilab 2 C Converter >> Scilab 2 C Converter > AVRUARTSetup + +

+

AVRUARTSetup

+

Function to Setup Serial Communication i.e UART or USART in ATmega16.

+ + +

Parameters

+
mode : +

integer, from 0 to 2

+
baudrate : +

Enter one of the following available baudrates (2400 , 4800 , 9600 , 14400 , 19200 , 28800 , 38400 , 57600 , 768000 , 115200 , 230400 , 250000 , 1000000)

+
stopbits : +

integer, (0 for one stopbit) or (1 for two stopbits)

+
parity : +

integer, from 0 to 2

+ +

Description

+

This function Setup the UART or USART for Serial Communicaion between ATmega16 +and different micro controllers or between ATmega16 and Computer.

+

mode can take values: +

+

parity can take values: +

+

This is curretly dummy function. It provides no functionality but is required +for providing support for generating C code for AVR.

+

+ +

Examples

+
AVRUARTSetup(0,9600,0,0); //This function will enable UART Communication for ATmega16
+with 9600 as baudrate,one stop bit and parity disabled
+ +

See also

+
+ +

Authors

+
+
+ +
+ + + + + + +
Report an issue
+ << AVRUARTReceive + + + Scilab 2 C Converter + + + AVRUARTTransmit >> + +
+
+
+ + -- cgit