VSF Documented
vsf_test_port_stdio.h
Go to the documentation of this file.
1/*****************************************************************************
2 * Copyright(C)2009-2024 by VSF Team *
3 * *
4 * Licensed under the Apache License, Version 2.0 (the "License"); *
5 * you may not use this file except in compliance with the License. *
6 * You may obtain a copy of the License at *
7 * *
8 * http://www.apache.org/licenses/LICENSE-2.0 *
9 * *
10 * Unless required by applicable law or agreed to in writing, software *
11 * distributed under the License is distributed on an "AS IS" BASIS, *
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
13 * See the License for the specific language governing permissions and *
14 * limitations under the License. *
15 * *
16 ****************************************************************************/
17
18/*============================ INCLUDES ======================================*/
19
20#ifndef __VSF_TEST_PORT_STDIO_H__
21# define __VSF_TEST_PORT_STDIO_H__
22
23# if VSF_USE_TEST == ENABLED && VSF_TEST_CFG_USE_STDIO_DATA_SYNC == ENABLED
24
25/*============================ MACROS ========================================*/
26/*============================ TYPES =========================================*/
27/*============================ INCLUDES ======================================*/
28/*============================ PROTOTYPES ====================================*/
29
35extern void vsf_test_stdio_wdt_init(vsf_test_wdt_t *wdt, uint32_t timeout_ms);
36
42
46extern void vsf_test_stdio_reboot(void);
47
57
67
68/*============================ LOCAL VARIABLES ===============================*/
69/*============================ GLOBAL VARIABLES ==============================*/
70
71# endif
72
73#endif /* __VSF_TEST_PORT_STDIO_H__ */
74 /* EOF */
struct ieee80211_ext_chansw_ie data
Definition ieee80211.h:80
unsigned uint32_t
Definition stdint.h:9
Definition vsf_test.h:315
Definition vsf_test.h:273
vsf_test_data_cmd_t
Device commands during data synchronization.
Definition vsf_test.h:287
void vsf_test_stdio_data_sync(vsf_test_data_t *data, vsf_test_data_cmd_t cmd)
Synchronize data via stdio's printf and scanf.
Definition vsf_test_port_stdio.c:54
void vsf_test_stdio_reboot(void)
Reboot watchdog timeout (requires assist device support)
Definition vsf_test_port_stdio.c:43
void vsf_test_stdio_data_init(vsf_test_data_t *data)
initialize the peripherals needed to synchronize the data
Definition vsf_test_port_stdio.c:49
void vsf_test_stdio_wdt_feed(vsf_test_wdt_t *wdt)
Reset watchdog timeout (requires assist device support)
Definition vsf_test_port_stdio.c:38
void vsf_test_stdio_wdt_init(vsf_test_wdt_t *wdt, uint32_t timeout_ms)
Initialize external watchdog via stdio (requires assist device support)
Definition vsf_test_port_stdio.c:33