FreeCalypso > hg > fc-selenite
comparison src/cs/drivers/drv_app/uart/uartfax.c @ 34:397e3a3274ea
NU_Create_Timer() changes for new Nucleus
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 16 Jul 2018 16:26:51 +0000 |
parents | b6a5e36de839 |
children | 7409b22cac61 |
comparison
equal
deleted
inserted
replaced
33:b183afa47c72 | 34:397e3a3274ea |
---|---|
2794 | 2794 |
2795 if (NU_Create_Timer (&(uart->break_timer_ctrl_block), | 2795 if (NU_Create_Timer (&(uart->break_timer_ctrl_block), |
2796 "Break", | 2796 "Break", |
2797 stop_break, | 2797 stop_break, |
2798 0, /* Parameter supplied to the routine: not used. */ | 2798 0, /* Parameter supplied to the routine: not used. */ |
2799 0, /* This parameter is set when the timer is reset. */ | 2799 1, /* This parameter is set when the timer is reset. */ |
2800 0, /* The timer expires once. */ | 2800 0, /* The timer expires once. */ |
2801 NU_DISABLE_TIMER) != NU_SUCCESS) | 2801 NU_DISABLE_TIMER) != NU_SUCCESS) |
2802 | 2802 |
2803 return (FD_INTERNAL_ERR); | 2803 return (FD_INTERNAL_ERR); |
2804 | 2804 |
2809 | 2809 |
2810 if (NU_Create_Timer (&(uart->guard_period_timer_ctrl_block), | 2810 if (NU_Create_Timer (&(uart->guard_period_timer_ctrl_block), |
2811 "Esc seq", | 2811 "Esc seq", |
2812 analyze_guard_period_timer_expiration, | 2812 analyze_guard_period_timer_expiration, |
2813 0, /* Parameter supplied to the routine: not used. */ | 2813 0, /* Parameter supplied to the routine: not used. */ |
2814 0, /* This parameter is set when the timer is reset. */ | 2814 1, /* This parameter is set when the timer is reset. */ |
2815 0, /* The timer expires once. */ | 2815 0, /* The timer expires once. */ |
2816 NU_DISABLE_TIMER) != NU_SUCCESS) | 2816 NU_DISABLE_TIMER) != NU_SUCCESS) |
2817 | 2817 |
2818 return (FD_INTERNAL_ERR); | 2818 return (FD_INTERNAL_ERR); |
2819 | 2819 |