lpcmanager

Uart communication timer is now bound to rt_timer_read() and no longer to common_ticktime__. Swapping of uart buffers is repositioned, so it is executed just befor/after the actual uart communication. Uart timeout is set according to buffer size: long buffer -> 20ms, short buffer -> 40ms. Decreased max uart devices from 68 to 32.
/* Code generated by LPCBus confnode */
/* LPCBus confnode includes */
#include "app_glue.h"
#ifdef _WINDOWS_H
#include "iec_types.h"
#else
#include "iec_std_lib.h"
#endif
%(declare_code)s
/* LPCBus confnode user variables definition */
%(var_decl)s
/* LPCBus confnode functions */
int __init_%(location_str)s(int argc,char **argv)
{
%(init_code)s
return 0;
}
void __cleanup_%(location_str)s(void)
{
}
void __retrieve_%(location_str)s(void)
{
%(retrieve_code)s
}
void __publish_%(location_str)s(void)
{
%(publish_code)s
}