This module contains WINC3400 bus APIs implementation.
Copyright (c) 2017-2019 Microchip Technology Inc. and its subsidiaries.
Macros | |
#define | MAX_TRX_CFG_SZ 8 |
Functions | |
sint8 | nm_bus_iface_deinit (void) |
Deinitialize bus interface. More... | |
sint8 | nm_bus_iface_init (uint8 *pvInitVal, uint32 req_serial_number) |
sint8 | nm_bus_iface_reconfigure (void *ptr) |
sint8 | nm_bus_reset (void) |
reset bus interface More... | |
sint8 | nm_read_block (uint32 u32Addr, uint8 *puBuf, uint32 u32Sz) |
uint32 | nm_read_reg (uint32 u32Addr) |
sint8 | nm_read_reg_with_ret (uint32 u32Addr, uint32 *pu32RetVal) |
sint8 | nm_write_block (uint32 u32Addr, uint8 *puBuf, uint32 u32Sz) |
sint8 | nm_write_reg (uint32 u32Addr, uint32 u32Val) |
static sint8 | p_nm_read_block (uint32 u32Addr, uint8 *puBuf, uint16 u16Sz) |
static sint8 | p_nm_write_block (uint32 u32Addr, uint8 *puBuf, uint16 u16Sz) |
#define MAX_TRX_CFG_SZ 8 |
Referenced by nm_read_block(), and nm_write_block().
nm_bus_iface_deinit | ( | void | ) |
Deinitialize bus interface.
Referenced by nm_drv_deinit(), nm_drv_init_hold(), and nm_drv_init_start().
References M2M_SUCCESS, and nm_bus_init().
Referenced by nm_drv_init_download_mode(), and nm_drv_init_hold().
sint8 nm_bus_iface_reconfigure | ( | void * | ptr | ) |
nm_bus_reset | ( | void | ) |
reset bus interface
Reset bus interface.
Referenced by chip_wake().
Referenced by is_efuse_bank_loaded(), load_efuse_to_regs(), nmi_set_sys_clk_src_to_xo(), nmi_update_pll(), read_from_efuse(), serial_bridge_process_read_reg_with_ret(), spi_flash_enter_low_power_mode(), spi_flash_leave_low_power_mode(), spi_flash_rdid(), spi_flash_read_status_reg(), wait_for_bootrom(), wait_for_firmware_start(), and write_to_efuse().
Referenced by chip_apply_conf(), chip_deinit(), chip_idle(), chip_reset_and_cpu_halt(), chip_sleep(), chip_wake(), cpu_halt(), cpu_start(), enable_interrupts(), get_gpio_val(), hif_isr(), hif_send(), hif_set_rx_done(), nm_get_firmware_full_info(), nm_get_firmware_info(), nm_get_hif_info(), nm_get_ota_firmware_info(), nmi_get_chipid(), nmi_get_mac_address(), nmi_get_otp_mac_address(), nmi_get_rfrevid(), pullup_ctrl(), set_gpio_dir(), set_gpio_val(), spi_flash_enable(), spi_flash_load_to_cortus_mem(), spi_flash_page_program(), spi_flash_rdid(), spi_flash_read_status_reg(), spi_flash_sector_erase(), spi_flash_write_disable(), spi_flash_write_enable(), and wait_for_firmware_start().
Referenced by hif_send(), serial_bridge_process_write_block(), and spi_flash_pp().
Referenced by chip_apply_conf(), chip_deinit(), chip_idle(), chip_reset(), chip_reset_and_cpu_halt(), chip_sleep(), chip_wake(), cpu_halt(), cpu_start(), enable_interrupts(), enable_rf_blocks(), hif_isr(), hif_send(), hif_set_rx_done(), load_efuse_to_regs(), nm_drv_init_download_mode(), nmi_set_sys_clk_src_to_xo(), nmi_update_pll(), pullup_ctrl(), restore_pmu_settings_after_global_reset(), serial_bridge_process_write_reg(), set_gpio_dir(), set_gpio_val(), spi_flash_enable(), spi_flash_enter_low_power_mode(), spi_flash_leave_low_power_mode(), spi_flash_load_to_cortus_mem(), spi_flash_page_program(), spi_flash_rdid(), spi_flash_read_status_reg(), spi_flash_sector_erase(), spi_flash_write_disable(), spi_flash_write_enable(), wait_for_bootrom(), wait_for_firmware_start(), and write_to_efuse().
References nm_i2c_read_block(), nm_spi_read_block(), and nm_uart_read_block().
Referenced by nm_read_block().
References nm_i2c_write_block(), nm_spi_write_block(), and nm_uart_write_block().
Referenced by nm_write_block().