Home
last modified time | relevance | path

Searched refs:val (Results 1 – 8 of 8) sorted by relevance

/loramac-node-3.7.0/src/peripherals/
Dsx9500.c96 uint8_t val = 0; in SX9500LockUntilDetection() local
99 SX9500Read( SX9500_REG_IRQSRC, &val ); in SX9500LockUntilDetection()
100 SX9500Read( SX9500_REG_STAT, &val ); in SX9500LockUntilDetection()
113 val = 0; in SX9500LockUntilDetection()
115 while( ( val & 0xF0 ) == 0x00 ) in SX9500LockUntilDetection()
117 SX9500Read( SX9500_REG_STAT, &val ); in SX9500LockUntilDetection()
120 SX9500Read( SX9500_REG_STAT, &val ); in SX9500LockUntilDetection()
121 SX9500Read( SX9500_REG_IRQSRC, &val ); in SX9500LockUntilDetection()
Dgpio-ioe.c117 uint8_t val = 0; in GpioIoeSetInterrupt() local
142 val = 0x01; in GpioIoeSetInterrupt()
146 val = 0x02; in GpioIoeSetInterrupt()
150 val = 0x03; in GpioIoeSetInterrupt()
185 regVal = ( regVal & REG_SENSE_PIN_MASK_1 ) | val; in GpioIoeSetInterrupt()
192 regVal = ( regVal & REG_SENSE_PIN_MASK_2 ) | ( val << 2 ); in GpioIoeSetInterrupt()
199 regVal = ( regVal & REG_SENSE_PIN_MASK_3 ) | ( val << 4 ); in GpioIoeSetInterrupt()
206 regVal = ( regVal & REG_SENSE_PIN_MASK_4 ) | ( val << 6 ); in GpioIoeSetInterrupt()
Dmpl3115.c297 uint8_t val = 0; in MPL3115ReadTemperature() local
343 val = ~( ( msb << 8 ) + lsb ) + 1; // 2's complement in MPL3115ReadTemperature()
344 msb = val >> 8; in MPL3115ReadTemperature()
345 lsb = val & 0x00F0; in MPL3115ReadTemperature()
/loramac-node-3.7.0/src/apps/LoRaMac/common/
DCayenneLpp.c93 int16_t val = ( int16_t ) ( value * 100 ); in CayenneLppAddAnalogInput() local
96 CayenneLppBuffer[CayenneLppCursor++] = val >> 8; in CayenneLppAddAnalogInput()
97 CayenneLppBuffer[CayenneLppCursor++] = val; in CayenneLppAddAnalogInput()
108 int16_t val = ( int16_t ) ( value * 100 ); in CayenneLppAddAnalogOutput() local
111 CayenneLppBuffer[CayenneLppCursor++] = val >> 8; in CayenneLppAddAnalogOutput()
112 CayenneLppBuffer[CayenneLppCursor++] = val; in CayenneLppAddAnalogOutput()
151 int16_t val = ( int16_t) ( celsius * 10 ); in CayenneLppAddTemperature() local
154 CayenneLppBuffer[CayenneLppCursor++] = val >> 8; in CayenneLppAddTemperature()
155 CayenneLppBuffer[CayenneLppCursor++] = val; in CayenneLppAddTemperature()
201 int16_t val = ( int16_t ) ( hpa * 10 ); in CayenneLppAddBarometricPressure() local
[all …]
/loramac-node-3.7.0/src/boards/mcu/saml21/hal/utils/include/
Dutils_increment_macro.h56 #define INC_VALUE(val) SP_INC_##val argument
Dutils_decrement_macro.h56 #define DEC_VALUE(val) DEC_##val argument
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_sai.c1709 HAL_StatusTypeDef HAL_SAI_EnableTxMuteMode(SAI_HandleTypeDef *hsai, uint16_t val) in HAL_SAI_EnableTxMuteMode() argument
1711 assert_param(IS_SAI_BLOCK_MUTE_VALUE(val)); in HAL_SAI_EnableTxMuteMode()
1716 SET_BIT(hsai->Instance->CR2, SAI_xCR2_MUTE | (uint32_t)val); in HAL_SAI_EnableTxMuteMode()
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_hal_sai.h817 HAL_StatusTypeDef HAL_SAI_EnableTxMuteMode(SAI_HandleTypeDef *hsai, uint16_t val);