/AliOS-Things-master/components/py_engine/tests/wipy/ |
A D | spi.py | 20 spi = SPI(0, SPI.MASTER, baudrate=200000, bits=16, polarity=0, phase=0) 22 spi = SPI(0, SPI.MASTER, baudrate=10000000, polarity=0, phase=1) 24 spi = SPI(0, SPI.MASTER, baudrate=5000000, bits=32, polarity=1, phase=0) 26 spi = SPI(0, SPI.MASTER, baudrate=10000000, polarity=1, phase=1) 28 spi.init(baudrate=20000000, polarity=0, phase=0) 35 SPI(0, SPI.MASTER, polarity=0, phase=0, pins=("GP31", "GP16", "GP15")) 51 spi.init(polarity=1, phase=0, pins=None) 56 spi.init(polarity=1, phase=1, pins=None) 61 spi.init(polarity=0, phase=1, pins=None) 90 spi = SPI(0, 10, baudrate=10000000, polarity=0, phase=0) [all …]
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/kissfft/ |
A D | _kiss_fft_guts.h | 128 # define KISS_FFT_COS(phase) floor(.5+SAMP_MAX * cos (phase)) argument 129 # define KISS_FFT_SIN(phase) floor(.5+SAMP_MAX * sin (phase)) argument 132 # define KISS_FFT_COS(phase) _mm_set1_ps( cos(phase) ) argument 133 # define KISS_FFT_SIN(phase) _mm_set1_ps( sin(phase) ) argument 136 # define KISS_FFT_COS(phase) (kiss_fft_scalar) cos(phase) argument 137 # define KISS_FFT_SIN(phase) (kiss_fft_scalar) sin(phase) argument 141 #define kf_cexp(x,phase) \ argument 143 (x)->r = KISS_FFT_COS(phase);\ 144 (x)->i = KISS_FFT_SIN(phase);\
|
/AliOS-Things-master/components/freetype/src/pfr/ |
A D | pfrsbit.c | 127 FT_Int n, phase, count, counts[2], reload; in pfr_bitwriter_decode_rle1() local 136 phase = 1; in pfr_bitwriter_decode_rle1() 148 if ( phase ) in pfr_bitwriter_decode_rle1() 159 phase = 0; in pfr_bitwriter_decode_rle1() 164 phase = 1; in pfr_bitwriter_decode_rle1() 171 if ( phase ) in pfr_bitwriter_decode_rle1() 207 FT_Int n, phase, count, reload; in pfr_bitwriter_decode_rle2() local 216 phase = 1; in pfr_bitwriter_decode_rle2() 230 phase = phase ^ 1; in pfr_bitwriter_decode_rle2() 235 if ( phase ) in pfr_bitwriter_decode_rle2()
|
/AliOS-Things-master/components/freetype/src/cff/ |
A D | cffparse.c | 133 FT_UInt phase; in cff_parse_real() local 153 phase = 4; in cff_parse_real() 159 if ( phase ) in cff_parse_real() 169 nib = ( p[0] >> phase ) & 0xF; in cff_parse_real() 170 phase = 4 - phase; in cff_parse_real() 196 if ( phase ) in cff_parse_real() 206 nib = ( p[0] >> phase ) & 0xF; in cff_parse_real() 207 phase = 4 - phase; in cff_parse_real() 235 if ( phase ) in cff_parse_real() 245 nib = ( p[0] >> phase ) & 0xF; in cff_parse_real() [all …]
|
/AliOS-Things-master/components/py_engine/tests/pyb/ |
A D | spi.py | 16 spi = SPI(1, SPI.MASTER, 500000, polarity=1, phase=0, bits=8, firstbit=SPI.MSB, ti=False, crc=None) 19 spi.init(SPI.SLAVE, phase=1)
|
/AliOS-Things-master/components/freetype/src/lzw/ |
A D | ftzopen.c | 194 state->phase = FT_LZW_PHASE_START; in ft_lzwstate_reset() 261 switch ( state->phase ) in ft_lzwstate_io() 302 state->phase = FT_LZW_PHASE_CODE; in ft_lzwstate_io() 360 state->phase = FT_LZW_PHASE_STACK; in ft_lzwstate_io() 394 state->phase = FT_LZW_PHASE_CODE; in ft_lzwstate_io() 410 state->phase = FT_LZW_PHASE_EOF; in ft_lzwstate_io()
|
A D | ftzopen.h | 114 FT_LzwPhase phase; member
|
/AliOS-Things-master/components/lwip/lwip2.0.0/netif/ppp/ |
A D | ppp.c | 255 notify_phase_cb(pcb, pcb->phase, pcb->ctx_cb); in ppp_set_notify_phase_callback() 271 if (pcb->phase != PPP_PHASE_DEAD) { in ppp_connect() 297 if (pcb->phase != PPP_PHASE_DEAD) { in ppp_listen() 328 if (pcb->phase == PPP_PHASE_HOLDOFF) { in ppp_close() 334 if (pcb->phase == PPP_PHASE_DEAD) { in ppp_close() 340 if (pcb->phase >= PPP_PHASE_TERMINATE) { in ppp_close() 345 if (pcb->phase < PPP_PHASE_ESTABLISH) { in ppp_close() 358 if (nocarrier && pcb->phase == PPP_PHASE_RUNNING) { in ppp_close() 385 if (pcb->phase != PPP_PHASE_DEAD) { in ppp_free() 804 if (pcb->phase <= PPP_PHASE_AUTHENTICATE in ppp_input() [all …]
|
A D | pppol2tp.c | 138 l2tp->phase = PPPOL2TP_STATE_INITIAL; in pppol2tp_create() 320 l2tp->phase = PPPOL2TP_STATE_SCCRQ_SENT; in pppol2tp_connect() 337 l2tp->phase = PPPOL2TP_STATE_INITIAL; in pppol2tp_disconnect() 349 if (l2tp->phase < PPPOL2TP_STATE_SCCRQ_SENT) { in pppol2tp_input() 449 if(l2tp->phase != PPPOL2TP_STATE_DATA) { in pppol2tp_input() 499 l2tp->phase = PPPOL2TP_STATE_DATA; in pppol2tp_dispatch_control_packet() 550 if (l2tp->phase < PPPOL2TP_STATE_DATA) { in pppol2tp_dispatch_control_packet() 667 l2tp->phase = PPPOL2TP_STATE_ICRQ_SENT; in pppol2tp_dispatch_control_packet() 682 l2tp->phase = PPPOL2TP_STATE_ICCN_SENT; in pppol2tp_dispatch_control_packet() 712 switch (l2tp->phase) { in pppol2tp_timeout() [all …]
|
/AliOS-Things-master/solutions/tflite_micro_speech_demo/micro_speech/train/speech_commands/ |
A D | input_data_test.py | 253 phase = i % 4 254 if phase == 0: 256 elif phase == 1: 258 elif phase == 2: 260 elif phase == 3:
|
/AliOS-Things-master/components/py_engine/engine/drivers/bus/ |
A D | softspi.c | 80 if (self->phase == 0) { in mp_soft_spi_transfer() 88 if (self->phase == 0) { in mp_soft_spi_transfer()
|
A D | spi.h | 44 uint8_t phase; member
|
/AliOS-Things-master/components/py_engine/engine/drivers/display/ |
A D | lcd160cr_test.py | 102 for phase in (-0.2, 0, 0.2): 103 x = w // 2 - 8 + int(50 * math.cos(0.05 * i + phase)) 104 y = h // 2 - 8 + int(32 * math.sin(0.05 * i + phase))
|
A D | ssd1306.py | 150 self.spi.init(baudrate=self.rate, polarity=0, phase=0) 158 self.spi.init(baudrate=self.rate, polarity=0, phase=0)
|
/AliOS-Things-master/components/amp-utility/python/ |
A D | cmath.py | 41 def phase(z): function
|
/AliOS-Things-master/components/lwip/lwip2.0.0/include/netif/ppp/ |
A D | ppp.h | 318 void (*notify_phase_cb)(ppp_pcb *pcb, u8_t phase, void *ctx); /* Notify phase callback */ 322 u8_t phase; /* where the link is at */ member 596 typedef void (*ppp_notify_phase_cb_fn)(ppp_pcb *pcb, u8_t phase, void *ctx);
|
A D | pppol2tp.h | 166 u8_t phase; /* L2TP phase */ member
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/netif/ppp/ |
A D | ppp.h | 318 void (*notify_phase_cb)(ppp_pcb *pcb, u8_t phase, void *ctx); /* Notify phase callback */ 322 u8_t phase; /* where the link is at */ member 598 typedef void (*ppp_notify_phase_cb_fn)(ppp_pcb *pcb, u8_t phase, void *ctx);
|
A D | pppol2tp.h | 166 u8_t phase; /* L2TP phase */ member
|
/AliOS-Things-master/components/py_engine/engine/extmod/ |
A D | machine_spi.c | 155 baudrate_from_delay_half(self->spi.delay_half), self->spi.polarity, self->spi.phase, in mp_machine_soft_spi_print() 181 self->spi.phase = args[ARG_phase].u_int; in mp_machine_soft_spi_make_new() 225 self->spi.phase = args[ARG_phase].u_int; in mp_machine_soft_spi_init()
|
/AliOS-Things-master/components/py_engine/tests/float/ |
A D | cmath_fun.py | 29 ("phase", phase, test_values),
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/stream/ |
A D | tiffstream.h | 37 static int map(thandle_t fd, tdata_t* phase, toff_t* psize);
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_common/ |
A D | rtl8721d_qdec.c | 416 void QDEC_SetRstMod(QDEC_TypeDef *QDec, u32 mode, u32 phase) in QDEC_SetRstMod() argument 422 assert_param(IS_QD_PC_RST_PHASE(phase)); in QDEC_SetRstMod() 428 reg_isc |= phase; in QDEC_SetRstMod()
|
/AliOS-Things-master/components/py_engine/engine/drivers/sdcard/ |
A D | sdcard.py | 61 self.spi.init(baudrate=baudrate, phase=0, polarity=0) 64 self.spi.init(master, baudrate=baudrate, phase=0, polarity=0)
|
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/ |
A D | cfg_cli.c | 252 uint8_t *phase; member 259 u8_t status, phase; in net_krp_status() local 281 phase = net_buf_simple_pull_u8(buf); in net_krp_status() 293 if (param->phase) { in net_krp_status() 294 *param->phase = phase; in net_krp_status() 1204 int bt_mesh_cfg_krp_set(u16_t net_idx, u16_t addr, u16_t key_net_idx, u8_t *phase, u8_t *status) in bt_mesh_cfg_krp_set() argument 1216 .phase = phase, in bt_mesh_cfg_krp_set() 1227 net_buf_simple_add_u8(&msg, *phase); in bt_mesh_cfg_krp_set() 1244 int bt_mesh_cfg_krp_get(u16_t net_idx, u16_t addr, u16_t key_net_idx, u8_t *phase, u8_t *status) in bt_mesh_cfg_krp_get() argument 1256 .phase = phase, in bt_mesh_cfg_krp_get()
|