| Electronic Components Datasheet Search |
|
AN2491 Datasheet(PDF) 24 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2491 Datasheet(HTML) 24 Page - STMicroelectronics |
|
24 / 32 page ![]() STW8110x public header file AN2491 24/32 //***************************************************************** // -------STW8110x Device Address / access mode------- //***************************************************************** #ifdef __INTERFACE_I2C #define I2C_DEVICE_MSB_ADD 0xC0 #define I2C_READ 1 #define I2C_WRITE 0 #define REG0_ADD 0x00 #define REG1_ADD 0x01 #define REG2_ADD 0x02 #define REG3_ADD 0x03 #define REG4_ADD 0x04 #define REG5_ADD 0x05 #endif //__INTERFACE_I2C #ifdef __INTERFACE_SPI #define ST1_ADD 0x00 #define ST2_ADD 0x01 #define SHIFT_ADD 24 #endif //__INTERFACE_SPI //***************************************************************** // -------STW8110x Enumeration Types------- //***************************************************************** // STW8110x errors typedef enum { OK = 0, ERR_A_HIGHER_THAN_B = -113, ERR_A_OUTOF_RANGE ,// = -112, ERR_B_OUTOF_RANGE ,// = -111, ERR_N_OUTOF_RANGE ,// = -110, ERR_VCOA_FREQ_OUTOF_RANGE ,// = -109, ERR_VCOB_FREQ_OUTOF_RANGE ,// = -108, ERR_FUNCT_MODE_UNKNOWN ,// = -107, ERR_REF_CLK_DIVIDER ,// = -106, ERR_PRESCALER ,// = -105, ERR_VCO_CALIBRATION ,// = -104, ERR_VCO_VOLTAGE ,// = -103, #ifdef __INTERFACE_I2C ERR_I2C_ACK ,// = -102, ERR_BAD_DEVICE ,// = -101, ERR_I2C_READ ,// = -100, #endif //__INTERFACE_I2C ERR_CHARGE_PUMP_CURRENT // = -99 or -102 } t_stw8110x_error ; // // Prescaler modulus definition // typedef enum { PRESCALER_16, PRESCALER_19 } t_PSC_SEL; |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |