Home
last modified time | relevance | path

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

/hal_telink-3.7.0/tlsr9/drivers/B91/
Dpwm.h186 static inline void pwm_set_tcmp(pwm_id_e id, unsigned short tcmp) in pwm_set_tcmp() argument
188 reg_pwm_cmp(id) = tcmp; in pwm_set_tcmp()
198 static inline void pwm_set_tmax(pwm_id_e id, unsigned short tmax){ in pwm_set_tmax() argument
199 reg_pwm_max(id) = tmax; in pwm_set_tmax()
215 static inline void pwm_start(pwm_id_e id){ in pwm_start() argument
216 if(PWM0_ID == id){ in pwm_start()
220 BM_SET(reg_pwm_enable, BIT(id)); in pwm_start()
230 static inline void pwm_stop(pwm_id_e id){ in pwm_stop() argument
231 if(PWM0_ID == id){ in pwm_stop()
235 BM_CLR(reg_pwm_enable, BIT(id)); in pwm_stop()
[all …]
Di2c.h227 void i2c_slave_init(unsigned char id);
237 unsigned char i2c_master_write(unsigned char id, unsigned char *data, unsigned char len);
247 unsigned char i2c_master_read(unsigned char id, unsigned char *data, unsigned char len);
259 unsigned char i2c_master_write_read(unsigned char id, unsigned char *wr_data, unsigned char wr_len,…
268 void i2c_master_write_dma(unsigned char id, unsigned char *data, unsigned char len);
279 void i2c_master_read_dma(unsigned char id, unsigned char *data, unsigned char len);
Di2c.c196 void i2c_slave_init(unsigned char id) in i2c_slave_init() argument
200 reg_i2c_id = id; //defaul eagle slave ID is 0x5a in i2c_slave_init()
211 unsigned char i2c_master_write(unsigned char id, unsigned char *data, unsigned char len) in i2c_master_write() argument
215 reg_i2c_data_buf(0)=id & (~FLD_I2C_WRITE_READ_BIT); //BIT(0):R:High W:Low; in i2c_master_write()
252 unsigned char i2c_master_read(unsigned char id, unsigned char *data, unsigned char len) in i2c_master_read() argument
257 reg_i2c_data_buf(0)=(id | FLD_I2C_WRITE_READ_BIT); //BIT(0):R:High W:Low; in i2c_master_read()
291 unsigned char i2c_master_write_read(unsigned char id, unsigned char *wr_data, unsigned char wr_len,… in i2c_master_write_read() argument
295 reg_i2c_data_buf(0)=id & (~FLD_I2C_WRITE_READ_BIT); //BIT(0):R:High W:Low; in i2c_master_write_read()
323 reg_i2c_data_buf(0)=(id | FLD_I2C_WRITE_READ_BIT); //BIT(0):R:High W:Low; in i2c_master_write_read()
350 void i2c_master_write_dma(unsigned char id, unsigned char *data, unsigned char len) in i2c_master_write_dma() argument
[all …]
Dswire.h137 void swire_set_slave_id(unsigned char id);