18 #include "cyabs_rtos.h" 24 #ifndef INCLUDED_WHD_BUS_PROTOCOL_INTERFACE_H_ 25 #define INCLUDED_WHD_BUS_PROTOCOL_INTERFACE_H_ 39 BACKPLANE_FUNCTION = 1,
43 #define BUS_FUNCTION_MASK (0x3) 48 #define PLATFORM_WLAN_ALLOW_BUS_TO_SLEEP_DELAY_MS 10 50 #define DELAYED_BUS_RELEASE_SCHEDULE(whd_driver, schedule) do { whd_delayed_bus_release_schedule_update(whd_driver, \ 68 typedef void (*whd_bus_irq_callback_t)(
void *handler_arg, uint32_t event);
79 extern whd_result_t whd_bus_write_backplane_value(
whd_driver_t whd_driver, uint32_t address, uint8_t register_length,
83 extern whd_result_t whd_bus_write_register_value(
whd_driver_t whd_driver, whd_bus_function_t
function, uint32_t address,
84 uint8_t value_length, uint32_t value);
85 extern whd_result_t whd_bus_read_register_value(
whd_driver_t whd_driver, whd_bus_function_t
function, uint32_t address,
86 uint8_t value_length, uint8_t *value);
91 whd_bus_function_t
function, uint32_t address, uint16_t size,
97 extern uint32_t whd_bus_packet_available_to_read(
whd_driver_t whd_driver);
110 extern uint8_t whd_bus_backplane_read_padd_size(
whd_driver_t whd_driver);
112 extern uint32_t whd_bus_get_max_transfer_size(
whd_driver_t whd_driver);
114 extern void whd_bus_init_stats(
whd_driver_t whd_driver);
#define MAX_BUS_HEADER_SIZE
Max bus header size for all bus types (sdio/spi)
Provides abstract pointer type to act as instance for: driver, interface, buffer funcs, network funcs, resource funcs and bus funcs.
whd_bus_transfer_direction_t
Transfer direction for the WHD platform bus interface.
whd_bool_t
Boolean values.
uint32_t whd_result_t
WHD result is specified as uint32_t value.
Defines common constants used with WHD within src folder.
Prototypes of functions corresponding to Buffer and Network Interface.