Searched refs:val (Results 1 – 8 of 8) sorted by relevance
96 uint8_t val = 0; in SX9500LockUntilDetection() local99 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()
117 uint8_t val = 0; in GpioIoeSetInterrupt() local142 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()
297 uint8_t val = 0; in MPL3115ReadTemperature() local343 val = ~( ( msb << 8 ) + lsb ) + 1; // 2's complement in MPL3115ReadTemperature()344 msb = val >> 8; in MPL3115ReadTemperature()345 lsb = val & 0x00F0; in MPL3115ReadTemperature()
93 int16_t val = ( int16_t ) ( value * 100 ); in CayenneLppAddAnalogInput() local96 CayenneLppBuffer[CayenneLppCursor++] = val >> 8; in CayenneLppAddAnalogInput()97 CayenneLppBuffer[CayenneLppCursor++] = val; in CayenneLppAddAnalogInput()108 int16_t val = ( int16_t ) ( value * 100 ); in CayenneLppAddAnalogOutput() local111 CayenneLppBuffer[CayenneLppCursor++] = val >> 8; in CayenneLppAddAnalogOutput()112 CayenneLppBuffer[CayenneLppCursor++] = val; in CayenneLppAddAnalogOutput()151 int16_t val = ( int16_t) ( celsius * 10 ); in CayenneLppAddTemperature() local154 CayenneLppBuffer[CayenneLppCursor++] = val >> 8; in CayenneLppAddTemperature()155 CayenneLppBuffer[CayenneLppCursor++] = val; in CayenneLppAddTemperature()201 int16_t val = ( int16_t ) ( hpa * 10 ); in CayenneLppAddBarometricPressure() local[all …]
56 #define INC_VALUE(val) SP_INC_##val argument
56 #define DEC_VALUE(val) DEC_##val argument
1709 HAL_StatusTypeDef HAL_SAI_EnableTxMuteMode(SAI_HandleTypeDef *hsai, uint16_t val) in HAL_SAI_EnableTxMuteMode() argument1711 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()
817 HAL_StatusTypeDef HAL_SAI_EnableTxMuteMode(SAI_HandleTypeDef *hsai, uint16_t val);