Home
last modified time | relevance | path

Searched refs:BIT_LOW_BIT (Results 1 – 4 of 4) sorted by relevance

/hal_telink-3.7.0/tlsr9/drivers/B91/
Dpwm.c55 unsigned char start_bit = (BIT_LOW_BIT(pin & 0xff) %4 )<<1; in pwm_set_pin()
Dspi.c109 unsigned char start_bit = (BIT_LOW_BIT(pin & 0xff) % 4) << 1; in hspi_set_pin_mux()
164 unsigned char start_bit = (BIT_LOW_BIT(pin & 0xff) %4) << 1; in pspi_set_pin_mux()
Daudio.c261 unsigned char start_bit = (BIT_LOW_BIT(pin & 0xff) %4 )<<1; in audio_i2s_set_pin_mux()
/hal_telink-3.7.0/tlsr9/common/
Dbit.h50 #define BIT_LOW_BIT(y) (((y) & BIT(0))?0:(((y) & BIT(1))?1:(((y) & BIT(2))?2:(((y) & BIT(3))?3: \ macro
82 #define MV(m, v) (((v) << BIT_LOW_BIT(m)) & (m))