Home
last modified time | relevance | path

Searched +full:backup +full:- +full:regs (Results 1 – 25 of 33) sorted by relevance

12

/Zephyr-latest/dts/bindings/memory-controllers/
Dst,stm32-bbram.yaml2 # SPDX-License-Identifier: Apache-2.0
7 STM32 BBRAM are 32-bit registers which can be used for storing user
8 application data. They are implemented in the backup domain that remains
9 powered-on by VBAT when the VDD power is switched off. They are not reset
11 reset by a backup domain reset.
13 compatible: "st,stm32-bbram"
18 st,backup-regs:
21 description: Number of available backup registers.
/Zephyr-latest/dts/arm/st/f3/
Dstm32f302X8.dtsi4 * SPDX-License-Identifier: Apache-2.0
16 flash-controller@40022000 {
24 compatible = "st,stm32-bbram";
25 st,backup-regs = <20>;
32 /delete-node/ &spi1;
Dstm32f303Xe.dtsi4 * SPDX-License-Identifier: Apache-2.0
12 compatible = "zephyr,memory-region", "st,stm32-ccm";
14 zephyr,memory-region = "CCM";
22 flash-controller@40022000 {
29 compatible = "st,stm32-dma-v2bis";
30 #dma-cells = <2>;
39 compatible = "st,stm32-bbram";
40 st,backup-regs = <16>;
Dstm32f303Xb.dtsi4 * SPDX-License-Identifier: Apache-2.0
12 compatible = "zephyr,memory-region", "st,stm32-ccm";
14 zephyr,memory-region = "CCM";
22 flash-controller@40022000 {
29 compatible = "st,stm32-dma-v2bis";
30 #dma-cells = <2>;
39 compatible = "st,stm32-bbram";
40 st,backup-regs = <16>;
Dstm32f303X8.dtsi2 * Copyright (c) 2020 Sebastian Schwabe <sebastian.schwabe@mailbox.tu-dresden.de>
4 * SPDX-License-Identifier: Apache-2.0
12 compatible = "zephyr,memory-region", "st,stm32-ccm";
14 zephyr,memory-region = "CCM";
22 flash-controller@40022000 {
29 compatible = "st,stm32-dac";
33 #io-channel-cells = <1>;
38 compatible = "st,stm32-bbram";
39 st,backup-regs = <5>;
46 /delete-node/ &spi2;
[all …]
Dstm32f334.dtsi4 * SPDX-License-Identifier: Apache-2.0
8 #include <zephyr/dt-bindings/adc/stm32l4_adc.h>
12 compatible = "st,stm32f334", "st,stm32f3", "simple-bus";
15 compatible = "st,stm32-timers";
20 interrupt-names = "brk", "up", "trgcom", "cc";
25 compatible = "st,stm32-pwm";
27 #pwm-cells = <3>;
32 compatible = "st,stm32-adc";
37 #io-channel-cells = <1>;
42 sampling-times = <2 3 5 8 20 62 182 602>;
[all …]
Dstm32f373.dtsi4 * SPDX-License-Identifier: Apache-2.0
8 #include <zephyr/dt-bindings/adc/stm32f1_adc.h>
12 compatible = "st,stm32f373", "st,stm32f3", "simple-bus";
19 compatible = "st,stm32f1-rcc";
22 pinctrl: pin-controller@48000000 {
24 compatible = "st,stm32-gpio";
25 gpio-controller;
26 #gpio-cells = <2>;
33 compatible = "st,stm32-i2c-v2";
34 clock-frequency = <I2C_BITRATE_STANDARD>;
[all …]
/Zephyr-latest/dts/arm/st/l1/
Dstm32l151Xb-a.dtsi4 * SPDX-License-Identifier: Apache-2.0
16 flash-controller@40023c00 {
27 compatible = "st,stm32-bbram";
28 st,backup-regs = <5>;
Dstm32l151Xb.dtsi4 * SPDX-License-Identifier: Apache-2.0
16 flash-controller@40023c00 {
27 compatible = "st,stm32-bbram";
28 st,backup-regs = <20>;
Dstm32l151Xc.dtsi4 * SPDX-License-Identifier: Apache-2.0
16 flash-controller@40023c00 {
23 compatible = "st,stm32-timers";
28 interrupt-names = "global";
33 compatible = "st,stm32-pwm";
35 #pwm-cells = <3>;
40 compatible = "st,stm32-spi";
41 #address-cells = <1>;
42 #size-cells = <0>;
55 compatible = "st,stm32-bbram";
[all …]
Dstm32l152Xc.dtsi4 * SPDX-License-Identifier: Apache-2.0
16 flash-controller@40023c00 {
23 compatible = "st,stm32-timers";
28 interrupt-names = "global";
33 compatible = "st,stm32-pwm";
35 #pwm-cells = <3>;
40 compatible = "st,stm32-spi";
41 #address-cells = <1>;
42 #size-cells = <0>;
55 compatible = "st,stm32-bbram";
[all …]
Dstm32l152Xe.dtsi4 * SPDX-License-Identifier: Apache-2.0
16 flash-controller@40023c00 {
23 compatible = "st,stm32-timers";
28 interrupt-names = "global";
33 compatible = "st,stm32-pwm";
35 #pwm-cells = <3>;
40 compatible = "st,stm32-spi";
41 #address-cells = <1>;
42 #size-cells = <0>;
55 compatible = "st,stm32-bbram";
[all …]
/Zephyr-latest/dts/arm/st/l4/
Dstm32l4r5.dtsi4 * SPDX-License-Identifier: Apache-2.0
10 /delete-node/ &sdmmc2;
11 /delete-node/ &sram2; /* different memory address */
26 compatible = "st,stm32l4r5", "st,stm32l4", "simple-bus";
30 compatible = "st,stm32-bbram";
31 st,backup-regs = <32>;
Dstm32l432.dtsi4 * SPDX-License-Identifier: Apache-2.0
12 clk_hsi48: clk-hsi48 {
13 #clock-cells = <0>;
14 compatible = "fixed-clock";
15 clock-frequency = <DT_FREQ_M(48)>;
21 compatible = "st,stm32l432", "st,stm32l4", "simple-bus";
29 compatible = "st,stm32-spi-fifo", "st,stm32-spi";
30 #address-cells = <1>;
31 #size-cells = <0>;
39 compatible = "st,stm32-timers";
[all …]
Dstm32l451.dtsi4 * SPDX-License-Identifier: Apache-2.0
12 clk_hsi48: clk-hsi48 {
13 #clock-cells = <0>;
14 compatible = "fixed-clock";
15 clock-frequency = <DT_FREQ_M(48)>;
21 compatible = "st,stm32l451", "st,stm32l4", "simple-bus";
23 pinctrl: pin-controller@48000000 {
25 compatible = "st,stm32-gpio";
26 gpio-controller;
27 #gpio-cells = <2>;
[all …]
Dstm32l471.dtsi4 * SPDX-License-Identifier: Apache-2.0
11 compatible = "st,stm32l471", "st,stm32l4", "simple-bus";
13 pinctrl: pin-controller@48000000 {
16 compatible = "st,stm32-gpio";
17 gpio-controller;
18 #gpio-cells = <2>;
24 compatible = "st,stm32-gpio";
25 gpio-controller;
26 #gpio-cells = <2>;
32 compatible = "st,stm32-gpio";
[all …]
/Zephyr-latest/drivers/gpio/
Dgpio_numicro.c4 * SPDX-License-Identifier: Apache-2.0
16 #include <zephyr/dt-bindings/gpio/numicro-gpio.h>
31 GPIO_T *regs; member
41 * backup of the INTEN register.
52 const struct gpio_numicro_config *cfg = dev->config; in gpio_numicro_configure()
53 GPIO_T * const regs = cfg->regs; in gpio_numicro_configure() local
70 return -ENOTSUP; in gpio_numicro_configure()
103 regs->MODE = (regs->MODE & ~MODE_MASK(pin)) | in gpio_numicro_configure()
105 regs->DBEN = (regs->DBEN & ~BIT(pin)) | (debounce_enable << pin); in gpio_numicro_configure()
106 regs->SMTEN = (regs->SMTEN & ~BIT(pin)) | (schmitt_enable << pin); in gpio_numicro_configure()
[all …]
/Zephyr-latest/dts/arm/st/f0/
Dstm32f031.dtsi2 * Copyright (c) 2021 Sebastian Schwabe <sebastian.schwabe@mailbox.tu-dresden.de>
4 * SPDX-License-Identifier: Apache-2.0
11 compatible = "st,stm32f031", "st,stm32f0", "simple-bus";
14 compatible = "st,stm32-timers";
19 interrupt-names = "global";
24 compatible = "st,stm32-pwm";
26 #pwm-cells = <3>;
30 compatible = "st,stm32-counter";
37 compatible = "st,stm32-bbram";
38 st,backup-regs = <5>;
[all …]
/Zephyr-latest/drivers/sensor/microchip/mchp_tach_xec/
Dtach_mchp_xec.c5 * SPDX-License-Identifier: Apache-2.0
30 struct tach_regs * const regs; member
54 const struct tach_xec_config * const cfg = dev->config; in tach_xec_sample_fetch()
55 struct tach_xec_data * const data = dev->data; in tach_xec_sample_fetch()
56 struct tach_regs * const tach = cfg->regs; in tach_xec_sample_fetch()
63 if (tach->STATUS & MCHP_TACH_STS_CNT_RDY) { in tach_xec_sample_fetch()
64 data->count = in tach_xec_sample_fetch()
65 tach->CONTROL >> MCHP_TACH_CTRL_COUNTER_POS; in tach_xec_sample_fetch()
78 return -EINVAL; in tach_xec_sample_fetch()
82 if (data->count == FAN_STOPPED) { in tach_xec_sample_fetch()
[all …]
/Zephyr-latest/drivers/rtc/
Drtc_rv3028.c4 * SPDX-License-Identifier: Apache-2.0
120 /* The RV3028 only supports two-digit years. Leap years are correctly handled from 2000 to 2099 */
121 #define RV3028_YEAR_OFFSET (2000 - 1900)
140 /* Helper macro to guard int-gpios related code */
152 uint8_t backup; member
175 struct rv3028_data *data = dev->data; in rv3028_lock_sem()
177 (void)k_sem_take(&data->lock, K_FOREVER); in rv3028_lock_sem()
182 struct rv3028_data *data = dev->data; in rv3028_unlock_sem()
184 k_sem_give(&data->lock); in rv3028_unlock_sem()
189 const struct rv3028_config *config = dev->config; in rv3028_read_regs()
[all …]
/Zephyr-latest/soc/atmel/sam0/common/
Dsoc_port.h2 * Copyright (c) 2016-2017 Piotr Mienkowski
3 * Copyright (c) 2020-2022 Gerson Fernando Budke
4 * SPDX-License-Identifier: Apache-2.0
27 /* Open-Drain is a reserved entry at pinctrl driver */
29 /* Input-Enable means Input-Buffer, see dts/pinctrl/pincfg-node.yaml */
32 /* Output-Enable, see dts/pinctrl/pincfg-node.yaml */
35 /* Drive-Strength, 0mA means normal, any other value means stronger */
76 PortGroup *regs; /** pointer to registers of the I/O Pin Controller */ member
97 * - configure pin(s) as input.
98 * - connect pin(s) to a peripheral B and enable pull-up.
[all …]
/Zephyr-latest/drivers/usb/device/
Dusb_dc_sam_usbc.c4 * SPDX-License-Identifier: Apache-2.0
104 static volatile Usbc *regs = (Usbc *) DT_INST_REG_ADDR(0); variable
122 if (regs->UESTA[ep_idx] != dev_ep_sta_dbg[0][ep_idx]) { in usb_dc_sam_usbc_isr_sta_dbg()
123 dev_ep_sta_dbg[0][ep_idx] = regs->UESTA[ep_idx]; in usb_dc_sam_usbc_isr_sta_dbg()
128 regs->UDCON, regs->UDINT, regs->UDINTE, in usb_dc_sam_usbc_isr_sta_dbg()
129 regs->UECON[ep_idx], regs->UESTA[ep_idx], in usb_dc_sam_usbc_isr_sta_dbg()
136 regs->UDCON, regs->UDINT, regs->UDINTE, in usb_dc_sam_usbc_isr_sta_dbg()
137 regs->UECON[ep_idx], regs->UESTA[ep_idx]); in usb_dc_sam_usbc_isr_sta_dbg()
155 return USBC->USBCON & USBC_USBCON_FRZCLK; in usb_dc_sam_usbc_is_frozen_clk()
160 USBC->USBCON |= USBC_USBCON_FRZCLK; in usb_dc_sam_usbc_freeze_clk()
[all …]
/Zephyr-latest/dts/arm/st/h7/
Dstm32h743.dtsi4 * SPDX-License-Identifier: Apache-2.0
8 #include <zephyr/dt-bindings/display/panel.h>
12 compatible = "st,stm32h743", "st,stm32h7", "simple-bus";
14 flash-controller@52002000 {
16 compatible = "st,stm32-nv-flash", "soc-nv-flash";
17 write-block-size = <32>;
18 erase-block-size = <DT_SIZE_K(128)>;
20 max-erase-time = <4000>;
25 dma-requests= <107>;
29 dma-requests= <107>;
[all …]
Dstm32h745.dtsi4 * SPDX-License-Identifier: Apache-2.0
8 #include <zephyr/dt-bindings/display/panel.h>
12 compatible = "st,stm32h745", "st,stm32h7", "simple-bus";
14 flash-controller@52002000 {
16 compatible = "st,stm32-nv-flash", "soc-nv-flash";
17 write-block-size = <32>;
18 erase-block-size = <DT_SIZE_K(128)>;
20 max-erase-time = <4000>;
23 compatible = "st,stm32-nv-flash", "soc-nv-flash";
24 write-block-size = <32>;
[all …]
Dstm32h723.dtsi5 * SPDX-License-Identifier: Apache-2.0
10 #include <zephyr/dt-bindings/display/panel.h>
11 #include <zephyr/dt-bindings/flash_controller/ospi.h>
15 compatible = "st,stm32h723", "st,stm32h7", "simple-bus";
17 flash-controller@52002000 {
19 compatible = "st,stm32-nv-flash", "soc-nv-flash";
20 write-block-size = <32>;
21 erase-block-size = <DT_SIZE_K(128)>;
23 max-erase-time = <4000>;
28 compatible = "st,stm32-uart";
[all …]

12