zephyr/modules/nrf_wifi/os/timer.h
Bansidhar P.M 0aeb81d6b5 drivers: nrf_wifi: Restructure to carve out a new nrf70 bus lib
The nrf wifi drivers include code related to qspi/spi bus. This work
moves bus related files to a new nrf70 bus library which is now
independent of the core driver and facilitlates building applications
directly using the bus APIs, agnostic to enabling wifi configs.

Signed-off-by: Bansidhar P.M <bansidhar.mangalwedhekar@nordicsemi.no>
2024-12-04 14:15:13 -05:00

26 lines
535 B
C

/*
* Copyright (c) 2024 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @brief Header containing timer specific declarations for the
* Zephyr OS layer of the Wi-Fi driver.
*/
#ifndef __TIMER_H__
#define __TIMER_H__
struct timer_list {
void (*function)(unsigned long data);
unsigned long data;
struct k_work_delayable work;
};
void init_timer(struct timer_list *timer);
void mod_timer(struct timer_list *timer, int msec);
void del_timer_sync(struct timer_list *timer);
#endif /* __TIMER_H__ */