Go to the documentation of this file.
34 #ifndef __SWIOT1L_MQTT_H__
35 #define __SWIOT1L_MQTT_H__
39 #endif // __SWIOT1L_MQTT_H__
int32_t decimal
Definition: ad74413r.h:307
const struct no_os_gpio_init_param adin1110_mssel_ip
Definition: common_data.c:181
const struct no_os_gpio_init_param adin1110_tx2p4_ip
Definition: common_data.c:173
const struct no_os_gpio_init_param adin1110_swpd_ip
Definition: common_data.c:165
const struct no_os_timer_platform_ops max_timer_ops
maxim platform specific timer platform ops structure
Definition: maxim_timer.c:304
const struct no_os_gpio_init_param adin1110_int_ip
Definition: common_data.c:69
const struct no_os_gpio_init_param max14906_d2_ip
Definition: common_data.c:133
uint16_t id
Definition: no_os_timer.h:85
int ad74413r_init(struct ad74413r_desc **desc, struct ad74413r_init_param *init_param)
Initialize the device structure.
Definition: ad74413r.c:1170
@ AD74413R_CURRENT_OUT
Definition: ad74413r.h:196
Defines the main function for the mqtt example.
const struct no_os_gpio_init_param max14906_en_ip
Definition: common_data.c:117
#define pr_err(fmt, args...)
Definition: no_os_print_log.h:88
Header file of Delay functions.
ADC value format.
Definition: ad74413r.h:305
const struct no_os_gpio_init_param max14906_d4_ip
Definition: common_data.c:149
uint8_t mac_address[ADIN1110_ETH_ALEN]
Definition: adin1110.h:215
Timer control module header.
int32_t no_os_gpio_direction_input(struct no_os_gpio_desc *desc)
Enable the input direction of the specified GPIO.
Definition: no_os_gpio.c:124
@ AD74413R_VOLTAGE_OUT
Definition: ad74413r.h:195
int ad74413r_remove(struct ad74413r_desc *desc)
Free the device descriptor.
Definition: ad74413r.c:1227
const struct no_os_gpio_init_param swiot_led2_ip
Definition: common_data.c:213
const struct no_os_gpio_init_param max14906_d3_ip
Definition: common_data.c:141
void no_os_mdelay(uint32_t msecs)
Wait until msecs milliseconds passed.
Definition: aducm3029_delay.c:126
const struct no_os_gpio_init_param swiot_led1_ip
Definition: common_data.c:205
const struct no_os_gpio_init_param max14906_d1_ip
Definition: common_data.c:125
int ad74413r_set_adc_rejection(struct ad74413r_desc *desc, uint32_t ch, enum ad74413r_rejection val)
Set the rejection setting for a specific channel.
Definition: ad74413r.c:579
int64_t integer
Definition: ad74413r.h:306
const struct no_os_gpio_init_param adin1110_cfg1_ip
Definition: common_data.c:197
const struct no_os_gpio_init_param ad74413r_irq_ip
Definition: common_data.c:109
AD74413r device descriptor.
Definition: ad74413r.h:349
int swiot1l_mqtt()
Definition: swiot1l_mqtt.c:56
int32_t no_os_gpio_remove(struct no_os_gpio_desc *desc)
Free the resources allocated by no_os_gpio_get().
Definition: no_os_gpio.c:104
Structure holding the GPIO descriptor.
Definition: no_os_gpio.h:96
@ AD74413R_REJECTION_NONE
Definition: ad74413r.h:185
const struct no_os_gpio_init_param adin1110_cfg0_ip
Definition: common_data.c:189
int32_t no_os_gpio_get(struct no_os_gpio_desc **desc, const struct no_os_gpio_init_param *param)
Obtain the GPIO decriptor.
Definition: no_os_gpio.c:49
int swiot1l_mqtt()
Definition: swiot1l_mqtt.c:56
Structure holding the parameters for timer initialization.
Definition: no_os_timer.h:83
@ AD74413R_RESISTANCE
Definition: ad74413r.h:200
int ad74413r_adc_get_value(struct ad74413r_desc *desc, uint32_t ch, struct ad74413r_decimal *val)
Get the ADC real value, according to the operation mode.
Definition: ad74413r.c:771
int ad74413r_set_channel_function(struct ad74413r_desc *desc, uint32_t ch, enum ad74413r_op_mode ch_func)
Set the operation mode for a specific channel.
Definition: ad74413r.c:421
int ad74413r_set_channel_dac_code(struct ad74413r_desc *desc, uint32_t ch, uint16_t dac_code)
Set and load a code for the DAC on a specific channel.
Definition: ad74413r.c:863
#define NULL
Definition: wrapper.h:64
struct no_os_gpio_init_param ad74413r_reset_ip
Definition: common_data.c:93
const struct no_os_gpio_init_param max14906_synch_ip
Definition: common_data.c:157
Header file of GPIO Interface.
const struct no_os_gpio_init_param ad74413r_ldac_ip
Definition: common_data.c:101
struct adin1110_init_param adin1110_ip
Definition: common_data.c:221
Header file of utility functions.
int32_t no_os_gpio_direction_output(struct no_os_gpio_desc *desc, uint8_t value)
Enable the output direction of the specified GPIO.
Definition: no_os_gpio.c:147
struct ad74413r_init_param ad74413r_ip
Definition: common_data.c:92
Error macro definition for ARM Compiler.
@ AD74413R_VOLTAGE_IN
Definition: ad74413r.h:197