|
1 | 1 | /*************************************************************************** |
2 | | - * Copyright (c) 2024 Microsoft Corporation |
3 | | - * |
| 2 | + * Copyright (c) 2024 Microsoft Corporation |
| 3 | + * |
4 | 4 | * This program and the accompanying materials are made available under the |
5 | 5 | * terms of the MIT License which is available at |
6 | 6 | * https://opensource.org/licenses/MIT. |
7 | | - * |
| 7 | + * |
8 | 8 | * SPDX-License-Identifier: MIT |
9 | 9 | **************************************************************************/ |
10 | 10 |
|
11 | 11 |
|
12 | 12 | /**************************************************************************/ |
13 | 13 | /**************************************************************************/ |
14 | | -/** */ |
15 | | -/** USBX Component */ |
| 14 | +/** */ |
| 15 | +/** USBX Component */ |
16 | 16 | /** */ |
17 | 17 | /** Utility */ |
18 | 18 | /** */ |
|
28 | 28 |
|
29 | 29 |
|
30 | 30 | #if !defined(UX_STANDALONE) |
31 | | -/**************************************************************************/ |
32 | | -/* */ |
33 | | -/* FUNCTION RELEASE */ |
34 | | -/* */ |
35 | | -/* _ux_utility_timer_create PORTABLE C */ |
| 31 | +/**************************************************************************/ |
| 32 | +/* */ |
| 33 | +/* FUNCTION RELEASE */ |
| 34 | +/* */ |
| 35 | +/* _ux_utility_timer_create PORTABLE C */ |
36 | 36 | /* 6.1.11 */ |
37 | 37 | /* AUTHOR */ |
38 | 38 | /* */ |
39 | 39 | /* Chaoqiong Xiao, Microsoft Corporation */ |
40 | 40 | /* */ |
41 | 41 | /* DESCRIPTION */ |
42 | | -/* */ |
43 | | -/* This function creates a timer. */ |
44 | | -/* */ |
45 | | -/* INPUT */ |
46 | | -/* */ |
47 | | -/* timer Pointer to timer */ |
48 | | -/* timer_name Name of timer */ |
49 | | -/* */ |
50 | | -/* OUTPUT */ |
51 | | -/* */ |
52 | | -/* Completion Status */ |
53 | | -/* */ |
54 | | -/* CALLS */ |
55 | | -/* */ |
| 42 | +/* */ |
| 43 | +/* This function creates a timer. */ |
| 44 | +/* */ |
| 45 | +/* INPUT */ |
| 46 | +/* */ |
| 47 | +/* timer Pointer to timer */ |
| 48 | +/* timer_name Name of timer */ |
| 49 | +/* */ |
| 50 | +/* OUTPUT */ |
| 51 | +/* */ |
| 52 | +/* Completion Status */ |
| 53 | +/* */ |
| 54 | +/* CALLS */ |
| 55 | +/* */ |
56 | 56 | /* tx_timer_create ThreadX timer create */ |
57 | | -/* */ |
58 | | -/* CALLED BY */ |
59 | | -/* */ |
60 | | -/* USBX Components */ |
61 | | -/* */ |
62 | | -/* RELEASE HISTORY */ |
63 | | -/* */ |
64 | | -/* DATE NAME DESCRIPTION */ |
65 | | -/* */ |
| 57 | +/* */ |
| 58 | +/* CALLED BY */ |
| 59 | +/* */ |
| 60 | +/* USBX Components */ |
| 61 | +/* */ |
| 62 | +/* RELEASE HISTORY */ |
| 63 | +/* */ |
| 64 | +/* DATE NAME DESCRIPTION */ |
| 65 | +/* */ |
66 | 66 | /* 05-19-2020 Chaoqiong Xiao Initial Version 6.0 */ |
67 | 67 | /* 09-30-2020 Chaoqiong Xiao Modified comment(s), */ |
68 | 68 | /* resulting in version 6.1 */ |
69 | 69 | /* 04-25-2022 Chaoqiong Xiao Modified comment(s), */ |
70 | 70 | /* off in standalone build, */ |
71 | 71 | /* resulting in version 6.1.11 */ |
| 72 | +/* xx-xx-xxxx Chaoqiong Xiao Modified comment(s), */ |
| 73 | +/* used UX prefix to refer to */ |
| 74 | +/* TX symbols instead of using */ |
| 75 | +/* them directly, */ |
| 76 | +/* resulting in version 6.x */ |
72 | 77 | /* */ |
73 | 78 | /**************************************************************************/ |
74 | | -UINT _ux_utility_timer_create(TX_TIMER *timer, CHAR *timer_name, VOID (*expiration_function) (ULONG), |
75 | | - ULONG expiration_input, ULONG initial_ticks, ULONG reschedule_ticks, |
| 79 | +UINT _ux_utility_timer_create(UX_TIMER *timer, CHAR *timer_name, VOID (*expiration_function) (ULONG), |
| 80 | + ULONG expiration_input, ULONG initial_ticks, ULONG reschedule_ticks, |
76 | 81 | UINT activation_flag) |
77 | 82 | { |
78 | 83 |
|
|
0 commit comments