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/22 10:40,
owner: IMB-yahoo-J86,
18.191.192.109: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://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? |