Home
last modified time | relevance | path

Searched refs:sint8 (Results 1 – 25 of 34) sorted by relevance

12

/hal_atmel-3.6.0/asf/common/components/wifi/winc1500/driver/include/
Dm2m_wifi.h597 NMI_API sint8 m2m_wifi_download_mode(void);
656 NMI_API sint8 m2m_wifi_init(tstrWifiInitParam * pWifiInitParam);
680 NMI_API sint8 m2m_wifi_deinit(void * arg);
710 NMI_API sint8 m2m_wifi_handle_events(void * arg);
734 sint8 m2m_wifi_send_crl(tstrTlsCrlInfo* pCRL);
769 NMI_API sint8 m2m_wifi_default_connect(void);
827 NMI_API sint8 m2m_wifi_connect(char *pcSsid, uint8 u8SsidLen, uint8 u8SecType, void *pvAuthInfo, ui…
889 …NMI_API sint8 m2m_wifi_connect_sc(char *pcSsid, uint8 u8SsidLen, uint8 u8SecType, void *pvAuthInfo…
916 NMI_API sint8 m2m_wifi_disconnect(void);
1037 NMI_API sint8 m2m_wifi_start_provision_mode(tstrM2MAPConfig *pstrAPConfig, char *pcHttpServerDomain…
[all …]
Dm2m_ota.h121 NMI_API sint8 m2m_ota_init(tpfOtaUpdateCb pfOtaUpdateCb,tpfOtaNotifCb pfOtaNotifCb);
143 NMI_API sint8 m2m_ota_notif_set_url(uint8 * u8Url);
165 NMI_API sint8 m2m_ota_notif_check_for_update(void);
187 NMI_API sint8 m2m_ota_notif_sched(uint32 u32Period);
277 NMI_API sint8 m2m_ota_start_update(uint8 * u8DownloadUrl);
304 NMI_API sint8 m2m_ota_start_update_crt(uint8 * u8DownloadUrl);
326 NMI_API sint8 m2m_ota_rollback(void);
348 NMI_API sint8 m2m_ota_rollback_crt(void);
364 NMI_API sint8 m2m_ota_abort(void);
387 NMI_API sint8 m2m_ota_switch_firmware(void);
[all …]
Dm2m_ate_mode.h451 sint8 m2m_ate_init(void);
468 sint8 m2m_ate_init_param(tstrM2mAteInit *pstrInit);
480 sint8 m2m_ate_deinit(void);
496 sint8 m2m_ate_set_fw_state(uint8);
510 sint8 m2m_ate_get_fw_state(void);
540 sint8 m2m_ate_get_tx_status(void);
556 sint8 m2m_ate_start_tx(tstrM2mAteTx *);
570 sint8 m2m_ate_stop_tx(void);
584 sint8 m2m_ate_get_rx_status(void);
600 sint8 m2m_ate_start_rx(tstrM2mAteRx *);
[all …]
Dm2m_periph.h228 NMI_API sint8 m2m_periph_init(tstrPerphInitParam * param);
249 NMI_API sint8 m2m_periph_gpio_set_dir(uint8 u8GpioNum, uint8 u8GpioDir);
270 NMI_API sint8 m2m_periph_gpio_set_val(uint8 u8GpioNum, uint8 u8GpioVal);
291 NMI_API sint8 m2m_periph_gpio_get_val(uint8 u8GpioNum, uint8 * pu8GpioVal);
312 NMI_API sint8 m2m_periph_gpio_pullup_ctrl(uint8 u8GpioNum, uint8 u8PullupEn);
330 NMI_API sint8 m2m_periph_i2c_master_init(tstrI2cMasterInitParam * param);
354 NMI_API sint8 m2m_periph_i2c_master_write(uint8 u8SlaveAddr, uint8 * pu8Buf, uint16 u16BufLen, uint…
381 NMI_API sint8 m2m_periph_i2c_master_read(uint8 u8SlaveAddr, uint8 * pu8Buf, uint16 u16BufLen, uint1…
404 NMI_API sint8 m2m_periph_pullup_ctrl(uint32 pinmask, uint8 enable);
Dm2m_crypto.h133 sint8 m2m_crypto_init(tpfAppCryproCb pfAppCryproCb);
145 sint8 m2m_crypto_sha256_hash_init(tstrM2mSha256Ctxt *psha256Ctxt);
170 sint8 m2m_crypto_sha256_hash_update(tstrM2mSha256Ctxt *psha256Ctxt, uint8 *pu8Data, uint16 u16DataL…
188 sint8 m2m_crypto_sha256_hash_finish(tstrM2mSha256Ctxt *psha256Ctxt, uint8 *pu8Sha256Digest);
226 sint8 m2m_crypto_rsa_sign_verify(uint8 *pu8N, uint16 u16NSize, uint8 *pu8E, uint16 u16ESize, uint8 …
265 sint8 m2m_crypto_rsa_sign_gen(uint8 *pu8N, uint16 u16NSize, uint8 *pu8d, uint16 u16dSize, uint8 *pu…
/hal_atmel-3.6.0/asf/common/components/wifi/winc1500/driver/source/
Dm2m_ota.c82 sint8 ret = M2M_SUCCESS; in m2m_ota_cb()
127 NMI_API sint8 m2m_ota_init(tpfOtaUpdateCb pfOtaUpdateCb, tpfOtaNotifCb pfOtaNotifCb) in m2m_ota_init()
129 sint8 ret = M2M_SUCCESS; in m2m_ota_init()
159 NMI_API sint8 m2m_ota_notif_set_url(uint8 * u8Url) in m2m_ota_notif_set_url()
161 sint8 ret = M2M_SUCCESS; in m2m_ota_notif_set_url()
181 NMI_API sint8 m2m_ota_notif_check_for_update(void) in m2m_ota_notif_check_for_update()
183 sint8 ret = M2M_SUCCESS; in m2m_ota_notif_check_for_update()
201 NMI_API sint8 m2m_ota_notif_sched(uint32 u32Period) in m2m_ota_notif_sched()
203 sint8 ret = M2M_SUCCESS; in m2m_ota_notif_sched()
222 NMI_API sint8 m2m_ota_start_update(uint8 * u8DownloadUrl) in m2m_ota_start_update()
[all …]
Dm2m_wifi.c302 sint8 m2m_wifi_download_mode() in m2m_wifi_download_mode()
304 sint8 ret = M2M_SUCCESS; in m2m_wifi_download_mode()
317 static sint8 m2m_validate_ap_parameters(CONST tstrM2MAPConfig* pstrM2MAPConfig) in m2m_validate_ap_parameters()
319 sint8 s8Ret = M2M_SUCCESS; in m2m_validate_ap_parameters()
402 static sint8 m2m_validate_scan_options(tstrM2MScanOption* ptstrM2MScanOption) in m2m_validate_scan_options()
404 sint8 s8Ret = M2M_SUCCESS; in m2m_validate_scan_options()
444 sint8 m2m_wifi_send_crl(tstrTlsCrlInfo* pCRL) in m2m_wifi_send_crl()
446 sint8 s8Ret = M2M_ERR_FAIL; in m2m_wifi_send_crl()
451 sint8 m2m_wifi_init(tstrWifiInitParam * param) in m2m_wifi_init()
454 sint8 ret = M2M_SUCCESS; in m2m_wifi_init()
[all …]
Dnmasic.h99 sint8 cpu_halt(void);
104 sint8 chip_sleep(void);
109 sint8 chip_wake(void);
119 sint8 enable_interrupts(void);
124 sint8 cpu_start(void);
154 sint8 chip_reset(void);
159 sint8 wait_for_bootrom(uint8);
164 sint8 wait_for_firmware_start(uint8);
169 sint8 chip_deinit(void);
174 sint8 chip_reset_and_cpu_halt(void);
[all …]
Dnmasic.c65 sint8 chip_apply_conf(uint32 u32Conf) in chip_apply_conf()
67 sint8 ret = M2M_SUCCESS; in chip_apply_conf()
116 sint8 enable_interrupts(void) in enable_interrupts()
119 sint8 ret = M2M_SUCCESS; in enable_interrupts()
143 sint8 cpu_start(void) { in cpu_start()
145 sint8 ret; in cpu_start()
278 sint8 chip_sleep(void) in chip_sleep()
281 sint8 ret = M2M_SUCCESS; in chip_sleep()
312 sint8 chip_wake(void) in chip_wake()
314 sint8 ret = M2M_SUCCESS; in chip_wake()
[all …]
Dnmbus.c58 sint8 nm_bus_iface_init(void *pvInitVal) in nm_bus_iface_init()
60 sint8 ret = M2M_SUCCESS; in nm_bus_iface_init()
73 sint8 nm_bus_iface_deinit(void) in nm_bus_iface_deinit()
75 sint8 ret = M2M_SUCCESS; in nm_bus_iface_deinit()
87 sint8 nm_bus_reset(void) in nm_bus_reset()
89 sint8 ret = M2M_SUCCESS; in nm_bus_reset()
109 sint8 nm_bus_iface_reconfigure(void *ptr) in nm_bus_iface_reconfigure()
111 sint8 ret = M2M_SUCCESS; in nm_bus_iface_reconfigure()
153 sint8 nm_read_reg_with_ret(uint32 u32Addr, uint32* pu32RetVal) in nm_read_reg_with_ret()
178 sint8 nm_write_reg(uint32 u32Addr, uint32 u32Val) in nm_write_reg()
[all …]
Dm2m_periph.c66 static sint8 get_gpio_idx(uint8 u8GpioNum) in get_gpio_idx()
83 static sint8 gpio_ioctl(uint8 op, uint8 u8GpioNum, uint8 u8InVal, uint8 * pu8OutVal) in gpio_ioctl()
85 sint8 ret, gpio; in gpio_ioctl()
112 sint8 m2m_periph_init(tstrPerphInitParam * param) in m2m_periph_init()
117 sint8 m2m_periph_gpio_set_dir(uint8 u8GpioNum, uint8 u8GpioDir) in m2m_periph_gpio_set_dir()
122 sint8 m2m_periph_gpio_set_val(uint8 u8GpioNum, uint8 u8GpioVal) in m2m_periph_gpio_set_val()
127 sint8 m2m_periph_gpio_get_val(uint8 u8GpioNum, uint8 * pu8GpioVal) in m2m_periph_gpio_get_val()
132 sint8 m2m_periph_gpio_pullup_ctrl(uint8 u8GpioNum, uint8 u8PullupEn) in m2m_periph_gpio_pullup_ctrl()
138 sint8 m2m_periph_i2c_master_init(tstrI2cMasterInitParam * param) in m2m_periph_i2c_master_init()
144 sint8 m2m_periph_i2c_master_write(uint8 u8SlaveAddr, uint8 * pu8Buf, uint16 u16BufLen, uint8 flags) in m2m_periph_i2c_master_write()
[all …]
Dm2m_hif.h102 NMI_API sint8 hif_init(void * arg);
112 NMI_API sint8 hif_deinit(void * arg);
134 NMI_API sint8 hif_send(uint8 u8Gid,uint8 u8Opcode,uint8 *pu8CtrlBuf,uint16 u16CtrlBufSize,
151 NMI_API sint8 hif_receive(uint32 u32Addr, uint8 *pu8Buf, uint16 u16Sz, uint8 isDone);
165 NMI_API sint8 hif_register_cb(uint8 u8Grp,tpfHifCallBack fn);
173 NMI_API sint8 hif_chip_sleep(void);
181 NMI_API sint8 hif_chip_sleep_sc(void);
190 NMI_API sint8 hif_chip_wake(void);
234 NMI_API sint8 hif_Resp_handler(uint8 *pu8Buffer, uint16 u16BufferSize);
244 NMI_API sint8 hif_handle_isr(void);
Dnmbus.h58 sint8 nm_bus_iface_init(void *);
66 sint8 nm_bus_iface_deinit(void);
74 sint8 nm_bus_reset(void);
81 sint8 nm_bus_iface_reconfigure(void *ptr);
101 sint8 nm_read_reg_with_ret(uint32 u32Addr, uint32* pu32RetVal);
112 sint8 nm_write_reg(uint32 u32Addr, uint32 u32Val);
125 sint8 nm_read_block(uint32 u32Addr, uint8 *puBuf, uint32 u32Sz);
138 sint8 nm_write_block(uint32 u32Addr, uint8 *puBuf, uint32 u32Sz);
Dm2m_ate_mode.c133 sint8 m2m_ate_init(void) in m2m_ate_init()
135 sint8 s8Ret = M2M_SUCCESS; in m2m_ate_init()
153 sint8 m2m_ate_init_param(tstrM2mAteInit *pstrInit) in m2m_ate_init_param()
155 sint8 s8Ret = M2M_SUCCESS; in m2m_ate_init_param()
172 sint8 m2m_ate_deinit(void) in m2m_ate_deinit()
191 sint8 m2m_ate_set_fw_state(uint8 u8State) in m2m_ate_set_fw_state()
193 sint8 s8Ret = M2M_SUCCESS; in m2m_ate_set_fw_state()
269 sint8 m2m_ate_get_fw_state(void) in m2m_ate_get_fw_state()
309 sint8 m2m_ate_get_tx_status(void) in m2m_ate_get_tx_status()
328 sint8 m2m_ate_start_tx(tstrM2mAteTx * strM2mAteTx) in m2m_ate_start_tx()
[all …]
Dnmspi.h56 sint8 nm_spi_init(void);
62 sint8 nm_spi_reset(void);
69 sint8 nm_spi_deinit(void);
89 sint8 nm_spi_read_reg_with_ret(uint32 u32Addr, uint32* pu32RetVal);
100 sint8 nm_spi_write_reg(uint32 u32Addr, uint32 u32Val);
113 sint8 nm_spi_read_block(uint32 u32Addr, uint8 *puBuf, uint16 u16Sz);
126 sint8 nm_spi_write_block(uint32 u32Addr, uint8 *puBuf, uint16 u16Sz);
Dm2m_hif.c94 static sint8 hif_set_rx_done(void) in hif_set_rx_done()
97 sint8 ret = M2M_SUCCESS; in hif_set_rx_done()
142 sint8 hif_chip_wake(void) in hif_chip_wake()
144 sint8 ret = M2M_SUCCESS; in hif_chip_wake()
205 sint8 hif_chip_sleep_sc(void) in hif_chip_sleep_sc()
219 sint8 hif_chip_sleep(void) in hif_chip_sleep()
221 sint8 ret = M2M_SUCCESS; in hif_chip_sleep()
251 sint8 hif_init(void * arg) in hif_init()
265 sint8 hif_deinit(void * arg) in hif_deinit()
267 sint8 ret = M2M_SUCCESS; in hif_deinit()
[all …]
Dnmuart.h52 sint8 nm_uart_sync_cmd(void);
71 sint8 nm_uart_read_reg_with_ret(uint32 u32Addr, uint32* pu32RetVal);
82 sint8 nm_uart_write_reg(uint32 u32Addr, uint32 u32Val);
95 sint8 nm_uart_read_block(uint32 u32Addr, uint8 *puBuf, uint16 u16Sz);
108 sint8 nm_uart_write_block(uint32 u32Addr, uint8 *puBuf, uint16 u16Sz);
117 sint8 nm_uart_reconfigure(void *ptr);
Dnmdrv.h86 sint8 nm_get_firmware_info(tstrM2mRev* M2mRev);
94 sint8 nm_get_firmware_full_info(tstrM2mRev* pstrRev);
103 sint8 nm_get_ota_firmware_info(tstrM2mRev* pstrRev);
109 sint8 nm_drv_init_download_mode(void);
120 sint8 nm_drv_init(void * arg);
130 sint8 nm_drv_deinit(void * arg);
Dnmspi.c101 static sint8 nmi_spi_read(uint8* b, uint16 sz) in nmi_spi_read()
110 static sint8 nmi_spi_write(uint8* b, uint16 sz) in nmi_spi_write()
119 static sint8 nmi_spi_rw(uint8 *bin,uint8* bout,uint16 sz) in nmi_spi_rw()
207 static sint8 spi_cmd(uint8 cmd, uint32 adr, uint32 u32data, uint32 sz,uint8 clockless) in spi_cmd()
211 sint8 result = N_OK; in spi_cmd()
305 static sint8 spi_data_rsp(uint8 cmd) in spi_data_rsp()
309 sint8 result = N_OK; in spi_data_rsp()
333 static sint8 spi_cmd_rsp(uint8 cmd) in spi_cmd_rsp()
336 sint8 result = N_OK; in spi_cmd_rsp()
337 sint8 s8RetryCnt; in spi_cmd_rsp()
[all …]
Dnmdrv.c61 sint8 nm_get_firmware_info(tstrM2mRev* M2mRev) in nm_get_firmware_info()
65 sint8 ret = M2M_SUCCESS; in nm_get_firmware_info()
104 sint8 nm_get_firmware_full_info(tstrM2mRev* pstrRev) in nm_get_firmware_full_info()
108 sint8 ret = M2M_SUCCESS; in nm_get_firmware_full_info()
167 sint8 nm_get_ota_firmware_info(tstrM2mRev* pstrRev) in nm_get_ota_firmware_info()
171 sint8 ret; in nm_get_ota_firmware_info()
236 sint8 nm_drv_init_download_mode() in nm_drv_init_download_mode()
238 sint8 ret = M2M_SUCCESS; in nm_drv_init_download_mode()
279 sint8 nm_drv_init(void * arg) in nm_drv_init()
281 sint8 ret = M2M_SUCCESS; in nm_drv_init()
[all …]
Dnmuart.c67 sint8 nm_uart_sync_cmd(void) in nm_uart_sync_cmd()
70 sint8 s8Ret = -1; in nm_uart_sync_cmd()
110 s8Ret = (sint8)onchip; in nm_uart_sync_cmd()
113 sint8 nm_uart_read_reg_with_ret(uint32 u32Addr, uint32* pu32RetVal) in nm_uart_read_reg_with_ret()
116 sint8 s8Ret = M2M_SUCCESS; in nm_uart_read_reg_with_ret()
215 sint8 nm_uart_write_reg(uint32 u32Addr, uint32 u32Val) in nm_uart_write_reg()
218 sint8 s8Ret = M2M_SUCCESS; in nm_uart_write_reg()
288 sint8 nm_uart_read_block(uint32 u32Addr, uint8 *pu8Buf, uint16 u16Sz) in nm_uart_read_block()
291 sint8 s8Ret = M2M_SUCCESS; in nm_uart_read_block()
376 sint8 nm_uart_write_block(uint32 u32Addr, uint8 *puBuf, uint16 u16Sz) in nm_uart_write_block()
[all …]
Dnmi2c.c62 sint8 nm_i2c_read_reg_with_ret(uint32 u32Addr, uint32* pu32RetVal) in nm_i2c_read_reg_with_ret()
67 sint8 s8Ret = M2M_SUCCESS; in nm_i2c_read_reg_with_ret()
139 sint8 nm_i2c_write_reg(uint32 u32Addr, uint32 u32Val) in nm_i2c_write_reg()
143 sint8 s8Ret = M2M_SUCCESS; in nm_i2c_write_reg()
189 sint8 nm_i2c_read_block(uint32 u32Addr, uint8 *pu8Buf, uint16 u16Sz) in nm_i2c_read_block()
193 sint8 s8Ret = M2M_SUCCESS; in nm_i2c_read_block()
240 sint8 nm_i2c_write_block(uint32 u32Addr, uint8 *pu8Buf, uint16 u16Sz) in nm_i2c_write_block()
244 sint8 s8Ret = M2M_SUCCESS; in nm_i2c_write_block()
/hal_atmel-3.6.0/asf/common/components/wifi/winc1500/common/include/
Dnm_common.h55 #define M2M_SUCCESS ((sint8)0)
56 #define M2M_ERR_SEND ((sint8)-1)
57 #define M2M_ERR_RCV ((sint8)-2)
58 #define M2M_ERR_MEM_ALLOC ((sint8)-3)
59 #define M2M_ERR_TIME_OUT ((sint8)-4)
60 #define M2M_ERR_INIT ((sint8)-5)
61 #define M2M_ERR_BUS_FAIL ((sint8)-6)
62 #define M2M_NOT_YET ((sint8)-7)
63 #define M2M_ERR_FIRMWARE ((sint8)-8)
64 #define M2M_SPI_FAIL ((sint8)-9)
[all …]
/hal_atmel-3.6.0/asf/common/components/wifi/winc1500/spi_flash/source/
Dspi_flash.c95 static sint8 spi_flash_read_status_reg(uint8 * val) in spi_flash_read_status_reg()
97 sint8 ret = M2M_SUCCESS; in spi_flash_read_status_reg()
133 sint8 ret = M2M_SUCCESS; in spi_flash_read_security_reg()
150 return (sint8)reg & 0xff; in spi_flash_read_security_reg()
160 static sint8 spi_flash_gang_unblock(void) in spi_flash_gang_unblock()
164 sint8 ret = M2M_SUCCESS; in spi_flash_gang_unblock()
190 static sint8 spi_flash_clear_security_flags(void) in spi_flash_clear_security_flags()
194 sint8 ret = M2M_SUCCESS; in spi_flash_clear_security_flags()
228 static sint8 spi_flash_load_to_cortus_mem(uint32 u32MemAdr, uint32 u32FlashAdr, uint32 u32Sz) in spi_flash_load_to_cortus_mem()
232 sint8 ret = M2M_SUCCESS; in spi_flash_load_to_cortus_mem()
[all …]
/hal_atmel-3.6.0/asf/common/components/wifi/winc1500/socket/include/
Dsocket.h542 typedef sint8 SOCKET;
702 sint8 status;
723 sint8 status;
768 sint8 s8Error;
1204 NMI_API sint8 bind(SOCKET sock, struct sockaddr *pstrAddr, uint8 u8AddrLen);
1328 NMI_API sint8 listen(SOCKET sock, uint8 backlog);
1358 NMI_API sint8 accept(SOCKET sock, struct sockaddr *addr, uint8 *addrlen);
1462 NMI_API sint8 connect(SOCKET sock, struct sockaddr *pstrAddr, uint8 u8AddrLen);
1837 NMI_API sint8 winc1500_close(SOCKET sock);
1891 NMI_API sint8 gethostbyname(uint8 * pcHostName);
[all …]

12