Home
last modified time | relevance | path

Searched full:power (Results 1 – 25 of 166) sorted by relevance

1234567

/nrf52832-nimble/nordic/nrfx/drivers/include/
H A Dnrfx_power.h44 * @defgroup nrfx_power POWER driver
47 * @brief POWER peripheral driver.
51 * @brief Power mode possible configurations
56 NRFX_POWER_MODE_LOWPWR /**< Low power mode */
61 * @brief Events from power system
76 * @brief Events from USB power system
80 NRFX_POWER_USB_EVT_DETECTED, /**< USB power detected on the connector (plugged in). */
81 NRFX_POWER_USB_EVT_REMOVED, /**< USB power removed from the connector. */
82 NRFX_POWER_USB_EVT_READY /**< USB power regulator ready. */
86 * @brief USB power state
[all …]
/nrf52832-nimble/nordic/nrfx/hal/
H A Dnrf_vmc.h48 /** @brief Power configuration bits for each section in particular RAM block. */
67 * @brief Function for setting power configuration for the particular RAM block.
84 * @brief Function for clearing power configuration for the particular RAM block.
92 * @brief Function for setting power configuration for the particular RAM block.
103 * @brief Function for clearing power configuration for the particular RAM block.
114 * @brief Function for getting power configuration of the particular RAM block.
119 * @return Bitmask with power configuration of sections of particular RAM block.
164 p_reg->RAM[ram_block_num].POWER = in nrf_vmc_ram_block_config()
175 // Perform dummy read of the POWER register to ensure that configuration of sections was in nrf_vmc_ram_block_config()
177 volatile uint32_t dummy = p_reg->RAM[ram_block_num].POWER; in nrf_vmc_ram_block_config()
[all …]
H A Dnrf_power.h42 * @defgroup nrf_power_hal POWER HAL
45 * @brief Hardware access layer for managing the POWER peripheral.
56 /** @brief Auxiliary definition to mark the fact that power module manages USB regulator */
83 /** @brief POWER tasks. */
87 …NRF_POWER_TASK_LOWPWR = offsetof(NRF_POWER_Type, TASKS_LOWPWR ), /**< Enable low power mode (v…
90 /** @brief POWER events. */
94 …NRF_POWER_EVENT_POFWARN = offsetof(NRF_POWER_Type, EVENTS_POFWARN ), /**< Power failure wa…
107 /** @brief POWER interrupts. */
192 * @brief RAM power state position of the bits
209 * @brief RAM power state bit masks
[all …]
/nrf52832-nimble/packages/NimBLE-latest/apps/blemesh_models_example_2/src/
H A Dmain.c101 * These values had saved before power down. in light_default_status_init()
118 * This value had saved before power down. in light_default_status_init()
132 u8_t power, color; in update_light_state() local
134 power = 100 * ((float) light_lightness_srv_user_data.actual / 65535); in update_light_state()
138 printk("power-> %d, color-> %d\n", power, color); in update_light_state()
148 if (power < 50) { in update_light_state()
/nrf52832-nimble/packages/NimBLE-latest/nimble/drivers/native/src/
H A Dble_phy.c85 /* "Rail" power level if outside supported range */
452 * Set the transmit output power (in dBm).
454 * NOTE: If the output power specified is within the BLE limits but outside
455 * the chip limits, we "rail" the power level so we dont exceed the min/max
458 * @param dbm Power output in dBm.
468 /* "Rail" power level if outside supported range */ in ble_phy_txpwr_set()
485 * Get the rounded transmit output power (in dBm).
487 * @param dbm Power output in dBm.
489 * @return int Rounded power in dBm
493 /* "Rail" power level if outside supported range */ in ble_phy_txpower_round()
[all …]
/nrf52832-nimble/rt-thread/components/drivers/pm/
H A Dpm.c70 * This function will enter corresponding power mode.
122 /* set current power mode */ in rt_pm_enter()
154 /* exit from low power mode */ in rt_pm_enter()
214 * stall in corresponding power mode.
277 * of corresponding power mode.
438 * This function will initialize power management.
510 MSH_CMD_EXPORT_ALIAS(rt_pm_release_mode, pm_release, release power management mode);
522 MSH_CMD_EXPORT_ALIAS(rt_pm_request_mode, pm_request, request power management mode);
532 rt_kprintf("| Power Management Mode | Counter | Timer |\n"); in rt_pm_dump_status()
546 FINSH_FUNCTION_EXPORT_ALIAS(rt_pm_dump_status, pm_dump, dump power management status);
[all …]
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/mesh/
H A Dsyscfg.yml139 ways that the node will be used and what kind of power source it
201 Enable this option to be able to act as a Low Power Node.
206 Perform the Friendship establishment using low power, with
255 The ReceiveDelay is the time between the Low Power node
264 consecutive requests sent by the Low Power node. If no
311 Friend node for a Low Power node.
316 Number of Low Power Nodes the Friend can have a Friendship
400 Use this option to enable Low Power debug logs for the
495 one used before power off.
506 a risk of sudden power loss, it may be a security vulnerability
[all …]
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/services/tps/src/
H A Dble_svc_tps.c29 * power.
42 /*** Service: Tx Power Service. */
46 /*** Characteristic: Tx Power Level. */
61 * Simple read access callback for the tx power level
/nrf52832-nimble/packages/NimBLE-latest/docs/mesh/
H A Dindex.rst20 making it very power efficient (battery powered low-power nodes that don't relay messages can opera…
35 - Low Power - operate within a mesh network at significantly reduced receiver duty cycles only in …
37 - Friend - the ability to help a node supporting the Low Power feature to operate by storing messa…
/nrf52832-nimble/nordic/nrfx/mdk/
H A Dnrf51.h71 …Reset_IRQn = -15, /*!< -15 Reset Vector, invoked on Power up and warm…
204 /* ================ POWER
209 * @brief Power Control. (POWER)
212 typedef struct { /*!< (@ 0x40000000) POWER Structure …
215 …__OM uint32_t TASKS_LOWPWR; /*!< (@ 0x0000007C) Enable low power mode (variable …
217 …__IOM uint32_t EVENTS_POFWARN; /*!< (@ 0x00000108) Power failure warning. …
228 …__IOM uint32_t POFCON; /*!< (@ 0x00000510) Power failure configuration. …
242 …__IOM uint32_t DCDCFORCE; /*!< (@ 0x00000A08) DCDC power-up force register. …
364 …__IOM uint32_t TXPOWER; /*!< (@ 0x0000050C) Output power. …
396 …__IOM uint32_t POWER; /*!< (@ 0x00000FFC) Peripheral power control. … member
[all …]
H A Dnrf51_deprecated.h64 /* POWER */
65 /* The field POWER.RAMON.OFFRAM3 was eliminated. Added into deprecated in case somebody was using t…
70 /* The field POWER.RAMON.OFFRAM2 was eliminated. Added into deprecated in case somebody was using t…
75 /* The field POWER.RAMON.ONRAM3 was eliminated. Added into deprecated in case somebody was using th…
80 /* The field POWER.RAMON.ONRAM2 was eliminated. Added into deprecated in case somebody was using th…
H A Dnrf51_bitfields.h113 /* Description: Peripheral power control. */
115 /* Bit 0 : Peripheral power control. */
116 #define AAR_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
117 #define AAR_POWER_POWER_Msk (0x1UL << AAR_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
118 #define AAR_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
119 #define AAR_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
218 /* Description: Peripheral power control. */
220 /* Bit 0 : Peripheral power control. */
221 #define ADC_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
222 #define ADC_POWER_POWER_Msk (0x1UL << ADC_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
[all …]
H A Dnrf51422_peripherals.h42 /* Power Peripheral */
153 /* Low Power Comparator */
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/src/
H A Dble_eddystone.c118 /* Measured Power ranging data (Calibrated tx power at 0 meters). */ in ble_eddystone_set_adv_data_uid()
159 /* Measured Power ranging data (Calibrated tx power at 0 meters). */ in ble_eddystone_set_adv_data_url()
H A Dble_ibeacon.c34 * @param measured_power The Measured Power (RSSI value at 1 Meter).
63 /* Measured Power ranging data (Calibrated tx power at 1 meters). */ in ble_ibeacon_set_adv_data()
/nrf52832-nimble/nordic/nrfx/drivers/src/
H A Dnrfx_power.c48 * @defgroup nrfx_power_internals POWER driver internals
51 * Internal variables, auxiliary macros and functions of POWER driver.
69 * @brief The handler of power fail comparator warning event
82 * @brief The handler of USB power events
314 * If both POWER and CLOCK drivers are used, a common IRQ handler function must
/nrf52832-nimble/rt-thread/components/drivers/include/drivers/
H A Dsdio.h87 #define SDIO_POWER_SMPC 0x01 /* Supports Master Power Control */
88 #define SDIO_POWER_EMPC 0x02 /* Enable Master Power Control */
110 #define SDIO_FBR_POWER_SPS 0x01 /* Supports Power Selection */
111 #define SDIO_FBR_POWER_EPS 0x02 /* Enable (low) Power Selection */
H A Dpm.h105 * device control flag to request or release power
113 * low power mode operations
146 * power management
/nrf52832-nimble/packages/NimBLE-latest/apps/blemesh_models_example_2/
H A DREADME.md13 - Generic Power OnOff Server
14 - Generic Power OnOff Setup Server
15 - Generic Power OnOff Client
/nrf52832-nimble/packages/NimBLE-latest/nimble/drivers/nrf51/src/
H A Dble_phy.c64 /* Maximum tx power */
835 /* Toggle peripheral power to reset (just in case) */ in ble_phy_init()
836 NRF_RADIO->POWER = 0; in ble_phy_init()
837 NRF_RADIO->POWER = 1; in ble_phy_init()
1223 * Set the transmit output power (in dBm).
1225 * NOTE: If the output power specified is within the BLE limits but outside
1226 * the chip limits, we "rail" the power level so we dont exceed the min/max
1229 * @param dbm Power output in dBm.
1239 /* "Rail" power level if outside supported range */ in ble_phy_txpwr_set()
1257 * Get the rounded transmit output power (in dBm).
[all …]
/nrf52832-nimble/packages/NimBLE-latest/nimble/controller/include/controller/
H A Dble_phy.h49 /* Power */
124 /* Set the transmit power */
127 /* Get highest allowed power from range */
130 /* Get the transmit power */
/nrf52832-nimble/rt-thread/components/drivers/sensors/
H A Dsensor.h115 * save power, unless batch mode is active, in which case they must
593 * A note on false positive / false negative / power consumption tradeoff
594 * - The goal of this sensor is to save power.
596 * in terms of power, so it should be avoided.
612 * The whole point of this sensor type is to save power by keeping the
641 * This sensor must be low power. That is, if the step detection cannot be
692 * This sensor must be low power. That is, if the step detection cannot be
697 * The whole point of this sensor type is to save power by keeping the
713 * goal of this sensor is to be low power.
948 /* rough estimate of this sensor's power consumption in mA */
[all …]
/nrf52832-nimble/rt-thread/src/
H A Dslab.c152 * + small power-of-2 sized allocations are power-of-2 aligned (kern_tty)
153 * + all power-of-2 sized allocations are power-of-2 aligned (twe)
583 * At least one subsystem, the tty code (see CROUND) expects power-of-2 in rt_malloc()
584 * allocations to be power-of-2 aligned. We maintain compatibility by in rt_malloc()
632 * Guarentee power-of-2 alignment for power-of-2-sized chunks. in rt_malloc()
/nrf52832-nimble/packages/NimBLE-latest/nimble/drivers/nrf52/src/
H A Dble_phy.c84 /* Maximum tx power */
525 * tick then we should better count one more low-power tick rather than in ble_phy_set_start_time()
526 * 30 high-power usecs. Also make sure we don't set TIMER0 CC to 0 as the in ble_phy_set_start_time()
1368 /* Toggle peripheral power to reset (just in case) */ in ble_phy_init()
1369 NRF_RADIO->POWER = 0; in ble_phy_init()
1370 NRF_RADIO->POWER = 1; in ble_phy_init()
1761 * Set the transmit output power (in dBm).
1763 * NOTE: If the output power specified is within the BLE limits but outside
1764 * the chip limits, we "rail" the power level so we dont exceed the min/max
1767 * @param dbm Power output in dBm.
[all …]
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/mesh/include/mesh/
H A Dmain.h330 /** @brief Toggle the Low Power feature of the local device
332 * Enables or disables the Low Power feature of the local device. This is
334 * this e.g. based on being plugged into a stable power source or running
335 * from a battery power source.

1234567