Home
last modified time | relevance | path

Searched full:alert (Results 1 – 25 of 131) sorted by relevance

123456

/Zephyr-latest/samples/sensor/isl29035/
DREADME.rst41 ALERT 365 lux outside range centered on 0 lux.
42 Next alert outside 315 .. 415
45 ALERT 302 lux outside range centered on 365 lux.
46 Next alert outside 252 .. 352
48 ALERT 247 lux outside range centered on 302 lux.
49 Next alert outside 197 .. 297
51 ALERT 187 lux outside range centered on 247 lux.
52 Next alert outside 137 .. 237
54 ALERT 126 lux outside range centered on 187 lux.
55 Next alert outside 76 .. 176
[all …]
/Zephyr-latest/include/zephyr/bluetooth/services/
Dias.h11 * @brief Immediate Alert Service (IAS)
12 * @defgroup bt_ias Immediate Alert Service (IAS)
31 /** Device shall alert */
34 /** Device should alert in strongest possible way */
38 /** @brief Immediate Alert Service callback structure. */
41 * @brief Callback function to stop alert.
43 * This callback is called when peer commands to disable alert.
48 * @brief Callback function for alert level value.
50 * This callback is called when peer commands to alert.
55 * @brief Callback function for alert level value.
[all …]
/Zephyr-latest/dts/bindings/sensor/
Dti,tmp1075.yaml21 alert-gpios:
24 Identifies the ALERT signal, which is active-low open drain when
30 description: Number of consecutive measured faults that will trigger the alert.
37 alert-pin-active-high:
38 description: Polarity of the alert pin.
41 description: Selects the function of the ALERT pin.
47 description: Lower threshold for alert interrupt. Expressed in degrees C.
50 description: Upper threshold for alert interrupt. Expressed in degrees C.
Dti,ina230.yaml28 alert-config:
30 description: Diag alert register, default matches the power-on reset value
75 # default all alert sources to disabled
78 alert-limit:
81 # default alert limit is 0V
82 description: Alert register, default matches the power-on reset value
/Zephyr-latest/drivers/gpio/
Dgpio_rt1718s.c41 uint16_t alert, mask; in rt1718s_alert_worker() local
44 /* Read alert and mask */ in rt1718s_alert_worker()
46 if (rt1718s_reg_burst_read(dev, RT1718S_REG_ALERT, (uint8_t *)&alert, in rt1718s_alert_worker()
47 sizeof(alert)) || in rt1718s_alert_worker()
55 /* Content of the alert and alert mask registers are in rt1718s_alert_worker()
57 * register will still indicate in the ALERT register, in rt1718s_alert_worker()
58 * but shall not set the Alert# pin low" in rt1718s_alert_worker()
60 alert &= mask; in rt1718s_alert_worker()
61 if (alert) { in rt1718s_alert_worker()
62 /* Clear all alert bits that causes the interrupt */ in rt1718s_alert_worker()
[all …]
Dgpio_nct38xx_alert.c30 /* Alert GPIO pin */
32 /* NCT38XX devices which share the same alert pin */
34 /* Number of NCT38XX devices on the alert pin */
40 /* Alert handler device */
42 /* Alert pin callback */
44 /* Alert worker */
62 uint16_t alert, mask; in nct38xx_alert_is_active() local
66 /* Clear alert */ in nct38xx_alert_is_active()
67 ret = i2c_burst_read_dt(mfd->i2c_dev, NCT38XX_REG_ALERT, (uint8_t *)&alert, in nct38xx_alert_is_active()
68 sizeof(alert)); in nct38xx_alert_is_active()
[all …]
Dgpio_nct38xx.c28 /* Alert handler */
53 uint16_t alert, alert_mask = 0; in nct38xx_init_interrupt() local
66 /* Enable vendor-defined alert for GPIO. */ in nct38xx_init_interrupt()
69 /* Clear alert */ in nct38xx_init_interrupt()
70 if (i2c_burst_read_dt(data->i2c_dev, NCT38XX_REG_ALERT, (uint8_t *)&alert, sizeof(alert))) { in nct38xx_init_interrupt()
74 alert &= alert_mask; in nct38xx_init_interrupt()
75 if (alert) { in nct38xx_init_interrupt()
76 if (i2c_burst_write_dt(data->i2c_dev, NCT38XX_REG_ALERT, (uint8_t *)&alert, in nct38xx_init_interrupt()
77 sizeof(alert))) { in nct38xx_init_interrupt()
DKconfig.nct38xx39 int "NCT38XX GPIO alert handler init priority"
43 NCT38XX alert handler initialization priority. This initialization
44 must take place after the alert GPIO device is initialized.
/Zephyr-latest/subsys/bluetooth/services/ias/
DKconfig.ias1 # Bluetooth GATT Immediate Alert Service
7 bool "Support for GATT Immediate Alert Service [EXPERIMENTAL]"
31 #### Immediate Alert Service Client ################################
34 bool "Immediate Alert Service Client [Experimental]"
38 This option enables support for Immediate Alert Service Client
Dias.c2 * @brief Immediate Alert Service implementation
65 LOG_DBG("High alert"); in set_alert_level()
72 LOG_DBG("Mild alert"); in set_alert_level()
79 LOG_DBG("No alert"); in set_alert_level()
134 /* Immediate Alert Service Declaration */
/Zephyr-latest/include/zephyr/drivers/sensor/
Dtmp108.h12 * setting the on-chip Temperature Mode and alert parameters.
29 /** Set the alert pin polarity */
33 /** a tmp108 mask for the over temp alert bit in the status word*/
36 /** a tmp108 mask for the under temp alert bit in the status word*/
39 /** a as6212 mask for the over temp alert bit in the status word*/
/Zephyr-latest/dts/bindings/gpio/
Dnuvoton,nct38xx-gpio-alert.yaml5 Nuvoton NCT38XX series I2C-based GPIO expander alert handler.
9 compatible = "nuvoton,nct38xx-gpio-alert";
14 compatible: "nuvoton,nct38xx-gpio-alert"
28 List of NCT38XX multi-function devices managed by this alert handler.
/Zephyr-latest/subsys/bluetooth/services/ias/shell/
Dias.c26 shell_print(ctx_shell, "Alert stopped\n"); in alert_stop()
31 shell_print(ctx_shell, "Mild alert started\n"); in alert_start()
36 shell_print(ctx_shell, "High alert started\n"); in alert_high_start()
50 shell_print(sh, "Local alert stop failed: %d", result); in cmd_ias_local_alert_stop()
52 shell_print(sh, "Local alert stopped"); in cmd_ias_local_alert_stop()
67 "Stop alert locally",
/Zephyr-latest/samples/sensor/sht3xd/boards/
Dnucleo_l476rg.overlay7 &i2c1 { /* SDA CN5.9=PB9, SCL CN5.10=PB8, ALERT CN5.1=D8=PA9 */
8 /* &i2c3 { * SDA CN7.36=PC1, SCL CN7.38=PC0, ALERT CN7.34=PB0 */
12 alert-gpios = <&gpioa 9 GPIO_ACTIVE_HIGH>;
Dfrdm_k64f.overlay7 &i2c0 { /* SDA PTE25, SCL PTE24, ALERT PTE26 */
11 alert-gpios = <&gpioe 26 GPIO_ACTIVE_HIGH>;
Dnrf52840dk_nrf52840.overlay7 &i2c0 { /* SDA P0.26, SCL P0.27, ALERT P1.10 */
11 alert-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
Dsltb004a.overlay7 &i2c0 { /* SDA H16=PC10, SCL H15=PC11, ALERT H13=PF6 */
11 alert-gpios = <&gpiof 6 GPIO_ACTIVE_HIGH>;
/Zephyr-latest/samples/posix/env/
DREADME.rst12 If the user sets a new value for the ``ALERT`` environment variable, it is printed to standard
36 ALERT=
45 ``ALERT`` environment variable and then immediately unsets it.
49 uart:~$ posix env set ALERT="Happy Friday!"
50 uart:~$ ALERT="Happy Friday!"
73 ALERT=
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dias_client_test.c46 printk("High alert sent\n"); in test_alert_high()
48 FAIL("Failed to send high alert\n"); in test_alert_high()
58 printk("Mild alert sent\n"); in test_alert_mild()
60 FAIL("Failed to send mild alert\n"); in test_alert_mild()
70 printk("Stop alert sent\n"); in test_alert_stop()
72 FAIL("Failed to send no alert\n"); in test_alert_stop()
124 /* Set alert levels with a delay to let the server handle any changes it want */ in test_main()
Dias_test.c72 printk("High alert received\n"); in test_main()
76 FAIL("Failed to locally stop alert: %d\n", err); in test_main()
82 printk("Mild alert received\n"); in test_main()
85 printk("Stop alert received\n"); in test_main()
/Zephyr-latest/drivers/smbus/
Dsmbus_utils.c19 * There might be several peripheral devices which could have triggered the alert and in smbus_loop_alert_devices()
28 * |S| Alert Addr |R|A| Address |X|N|P| in smbus_loop_alert_devices()
34 LOG_DBG("%s: no more peripheral devices left which triggered an alert", in smbus_loop_alert_devices()
39 LOG_DBG("%s: address 0x%02X triggered an alert", dev->name, address); in smbus_loop_alert_devices()
/Zephyr-latest/samples/posix/env/src/
Dmain.c46 setenv("ALERT", "", 1); in entry()
52 if (getenv_r("ALERT", alert_msg_buf, sizeof(alert_msg_buf) - 1) < 0 || in entry()
56 printf("ALERT=%s\n", alert_msg_buf); in entry()
57 unsetenv("ALERT"); in entry()
/Zephyr-latest/samples/sensor/jc42/
DREADME.rst16 When the temperature moves outside the window an alert is given, and the
43 and alert GPIO, build this sample app using:
59 Alert on temp outside [24500, 25500] milli-Celsius
68 Alert on temp outside [15812, 16812] milli-Celsius
77 Alert on temp outside [16312, 17312] milli-Celsius
/Zephyr-latest/drivers/sensor/ti/ina23x/
DKconfig47 …ompat_any_has_prop,$(DT_COMPAT_TI_INA230),alert-gpios) || $(dt_compat_any_has_prop,$(DT_COMPAT_TI_…
50 interrupts are configured to line ALERT PIN.
/Zephyr-latest/drivers/usb_c/tcpc/
Ducpd_stm32_priv.h34 * @brief UCPD alert mask used for enabling alerts
43 * @brief UCPD alert mask used for clearing alerts
52 * @brief UCPD alert mask used for enabling alerts
62 * @brief UCPD alert mask used for clearing alerts
71 * @brief UCPD alert mask for all alerts
238 * @brief Alert handler information
244 * application's alert handler callback
247 /* Application's alert handler callback */
251 * alert handler callback
280 /* Alert information */

123456