This file is part of SimpleRTOS2
/*============================================================================*/ /*============================================================================*/ /*============================================================================*/ /*============================================================================*/ /*============================================================================*/ /* Note: This file was severely modified from the original FreeRTOS version. */ /*============================================================================*/ /*============================================================================*/ /*============================================================================*/ /*============================================================================*/ #if !defined __SERIALSAM3_H__ #define __SERIALSAM3_H__ /*============================================================================*/ #include "SimpleRTOS.h" /*============================================================================*/ typedef enum { COM_UART = 1, SERIAL1 = COM_UART, COM_USART0, SERIAL2 = COM_USART0, COM_USART1, SERIAL3 = COM_USART1, COM_USART2, SERIAL4 = COM_USART2, } comport_t; /*============================================================================*/ int SerialPortInitMinimal ( unsigned int port, unsigned long BaudRate ); int SerialReceive ( unsigned int port, tickcount_t TimeToWait ); int SerialTransmit ( unsigned int port, signed char c, tickcount_t TimeToWait ); /*============================================================================*/ #endif /* !defined __SERIALSAM3_H__ */ /*============================================================================*/
file: /Techref/member/IMB-yahoo-J86/SerialSAM3.h.htm, 2KB, , updated: 2016/1/14 19:52, local time: 2024/11/17 19:35,
owner: IMB-yahoo-J86,
3.145.95.107:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.ecomorder.com/techref/member/IMB-yahoo-J86/SerialSAM3.h.htm"> A simple RTOS for microcontrollers based upon concepts of FreeRTOS</A> |
Did you find what you needed? |