{"id":24841916,"url":"https://github.com/etherkit/si5351-avr-tiny-minimal","last_synced_at":"2025-10-14T14:31:59.005Z","repository":{"id":34244516,"uuid":"38120537","full_name":"etherkit/si5351-avr-tiny-minimal","owner":"etherkit","description":"A small but functional library for driving the Si5351 with AVR ATtiny microcontrollers with 8 kB of flash memory.","archived":false,"fork":false,"pushed_at":"2016-02-07T01:46:54.000Z","size":38,"stargazers_count":10,"open_issues_count":2,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-03-26T01:09:13.648Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/etherkit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-26T16:08:38.000Z","updated_at":"2023-12-22T15:36:21.000Z","dependencies_parsed_at":"2022-09-14T02:30:51.258Z","dependency_job_id":null,"html_url":"https://github.com/etherkit/si5351-avr-tiny-minimal","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/etherkit/si5351-avr-tiny-minimal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etherkit%2Fsi5351-avr-tiny-minimal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etherkit%2Fsi5351-avr-tiny-minimal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etherkit%2Fsi5351-avr-tiny-minimal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etherkit%2Fsi5351-avr-tiny-minimal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/etherkit","download_url":"https://codeload.github.com/etherkit/si5351-avr-tiny-minimal/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etherkit%2Fsi5351-avr-tiny-minimal/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279019123,"owners_count":26086680,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-31T08:01:08.526Z","updated_at":"2025-10-14T14:31:58.998Z","avatar_url":"https://github.com/etherkit.png","language":"C","readme":"Si5351 Library for avr-gcc on ATtiny Microcontrollers\n=====================================================\nThis is a basic library for the Si5351 series of clock generator ICs from [Silicon Labs](http://www.silabs.com) for the avr-gcc development environment. It will allow you to control the Si5351 with an AVR ATtiny microcontroller with a USI peripheral module and preferably at least 8 kB of flash memory, without depending on the proprietary ClockBuilder software from Silicon Labs.\n\nThis library is focused towards usage in RF/amateur radio applications, but it may be useful in other cases. However, keep in mind that coding decisions are and will be made with those applications in mind first, so if you need something a bit different, please do fork this repository. Also, since the Si5351A3 version is the one which seems most useful in amateur radio applications, this is where the current development will be focused. Once the Si5351A3 has a decent and mature feature set, hopefully we will be able to turn to the 8-output version, and perhaps even the B and C variants.\n\nHardware Requirements and Setup\n-------------------------------\nAn 8-bit AVR ATtiny microcontroller with the USI peripheral is required for this library. The code size of the library, compiled with a simple program to set the output frequency on all three clock outputs of a Si5351A3 is 3826 bytes (using avr-gcc version 4.8.2), therefore it is best used with a microcontroller with at least 8 kB of flash memory.\n\nThe Si5351 is a +3.3 V only part, so if you are not using a +3.3 V microcontroller, be sure you have some kind of level conversion strategy.\n\nWire the SDA and SCL pins of the Si5351 to the corresponding pins on the AVR. Since the I2C interface is set to 400 kHz, use 4.7 k\u0026Omega; pullup resistors from +3.3 V to the SDA and SCL lines.\n\nConnect a 25 MHz or 27 MHz crystal with a load capacitance of 6, 8, or 10 pF to the Si5351 XA and XB pins. Locate the crystal as close to the Si5351 as possible and keep the traces as short as possible. Please use a SMT crystal. A crystal with leads will have too much stray capacitance.\n\nUsage\n-----\nInclude the si5351-avr-tiny-minimal.c, si5351-avr-tiny-minimal.h, USI_TWI_Master.c, and USI_TWI_Master.h files into your avr-gcc project as you would with any other standard project.\n\nThe functions of the library are documented in the code. It should be fairly self-explanatory, but here's a very short introduction.\n\nBefore you do anything with the Si5351, you will need to initialize the communications and the IC. Let's initialize communications with the Si5351, specify the load capacitance of the reference crystal, and to use the default reference oscillator frequency of 25 MHz:\n\n    si5351_init(SI5351_CRYSTAL_LOAD_8PF, 0)\n\nNext, let's set the CLK0 output to 14 MHz):\n\n    si5351_set_freq(14000000UL, SI5351_CLK0);\n\nIf we like we can adjust the output drive power:\n\n    si5351_drive_strength(SI5351_CLK0, SI5351_DRIVE_4MA);\n\nAlso, there will be some inherent error in the reference crystal's actual frequency, so we can measure the difference between the actual and nominal output frequency in Hz, multiply by 10, make it an integer, and enter this correction factor into the library. With an accurate measurement at one frequency, this calibration should be good across the entire tuning range:\n\n    si5351_set_correction(-900);\n\nOne thing to note: the library is set for a 25 MHz reference crystal. If you are using a 27 MHz crystal, please enter the reference oscillator frequency as the 2nd parameter in the si5351_init() function.\n\nAlso, the si5351_init() function sets the crystal load capacitance for 8 pF. Change this value if you are using a crystal with a different load capacitance.\n\nSetting the Output Frequency\n----------------------------\nAs indicated above, the library accepts and indicates clock frequencies in units of 1 Hz, as an _unsigned long_ variable type (or _uint32_t_). When entering literal values, append \"UL\" to make an explicit _unsigned long_ number to ensure proper tuning.\n\nThe most simple way to set the output frequency is to let the library pick a PLL assignment for you. You do this by using the si5351_set_freq() function, which will use a PLL frequency of 900 MHz and assign all multisynths (clock outputs) to PLLA. This function will also calculate the PLL parameters based on the correction factor set with the si5351_set_correction() function:\n\n    si5351_set_freq(10140000UL, SI5351_CLK0);\n\nYou may also manually set the output frequency by specifiying the A, B, and C divider values for both the PLLs and multisynths (each fractional synth divides by `a * b/c`):\n\n    struct Si5351Frac pll_frac, ms_frac;\n\n    // Set PLLA to 600 MHz (600 MHz / 25 MHz = 24)\n    pll_frac.a = 24;\n    pll_frac.b = 0;\n    pll_frac.c = 1;\n    si5351_set_pll(pll_frac, SI5351_PLLA);\n\n    // Set MS0 (CLK0) to 10 MHz (600 MHz / 10 MHz = 60)\n    ms_frac.a = 60;\n    ms_frac.b = 0;\n    ms_frac.c = 1;\n    si5351_set_ms(SI5351_CLK0, ms_frac, 0, SI5351_OUTPUT_CLK_DIV_1, 0);\n\nNote that this does not use si5351_set_correction() to integrate the correction factor into the PLL tuning. Consult the si5351_set_freq() code to see how that is accomplished.\n\nFurther Details\n---------------\nIf we like we can adjust the output drive power:\n\n    si5351_drive_strength(SI5351_CLK0, SI5351_DRIVE_4MA);\n\nThe drive strength is the amount of current into a 50\u0026Omega; load. 2 mA roughly corresponds to 7 dBm output and 8 mA is approximately 14 dBm output.\n\nIndividual outputs can be turned on and off. In the second argument, use a 0 to disable and 1 to enable:\n\n    si5351_output_enable(SI5351_CLK0, 0);\n\nYou may invert a clock output signal by using this command:\n\n    si5351_set_clock_invert(SI5351_CLK0, 1);\n\nCalibration\n-----------\nThere will be some inherent error in the reference oscillator's actual frequency, so we can account for this by measuring the difference between the uncalibrated actual and nominal output frequencies, then using that difference as a correction factor in the library. The set_correction() method uses a signed integer calibration constant measured in parts-per-ten million. The easist way to determine this correction factor is to measure the actual frequency of a 10 MHz signal from one of the clock outputs, calculate how many Hz it differs from the nominal frequency of 10000000 Hz, then use that number in the set_correction() method in future use of this particular reference oscillator. Once this correction factor is determined, it should not need to be measured again for the same reference oscillator/Si5351 pair unless you want to redo the calibration. With an accurate measurement at one frequency, this calibration should be good across the entire tuning range.\n\nThe calibration method is called like this:\n\n    si5351_set_correction(-61);\n\nOne thing to note: the library is set for a 25 MHz reference crystal. If you are using a 27 MHz crystal, use the second parameter in the si5351_init() function to specify that as the reference oscillator frequency.\n\nPhase\n------\nThe phase of the output clock signal can be changed by using the set_phase() method. Phase is in relation to (and measured against the period of) the PLL that the output multisynth is referencing. When you change the phase register from its default of 0, you will need to keep a few considerations in mind.\n\nSetting the phase of a clock requires that you manually set the PLL and take the PLL frequency into account when calculation the value to place in the phase register. As shown on page 10 of Silicon Labs Application Note 619 (AN619), the phase register is a 7-bit register, where a bit represents a phase difference of 1/4 the PLL period. Therefore, the best way to get an accurate phase setting is to make the PLL an even multiple of the clock frequency, depending on what phase you need.\n\nIf you need a 90 degree phase shift (as in many RF applications), then it is quite easy to determine your parameters. Pick a PLL frequency that is an even multiple of your clock frequency (remember that the PLL needs to be in the range of 600 to 900 MHz). Then to set a 90 degree phase shift, you simply enter that multiple into the phase register. Remember when setting multiple outputs to be phase-related to each other, they each need to be referenced to the same PLL.\n\n    // We will output 14.1 MHz on CLK0 and CLK1.\n    // A PLLA frequency of 705 MHz was chosen to give an even\n    // divisor by 14.1 MHz.\n    struct Si5351Frac pll_frac, ms_frac;\n\n    // Set PLLA to 705 MHz (600 MHz / 25 MHz = 28.2)\n    pll_frac.a = 28;\n    pll_frac.b = 2;\n    pll_frac.c = 10;\n    si5351_set_pll(pll_frac, SI5351_PLLA);\n\n    // Set CLK0 and CLK1 to use PLLA as the MS source\n    si5351.set_ms_source(SI5351_CLK0, SI5351_PLLA);\n    si5351.set_ms_source(SI5351_CLK1, SI5351_PLLA);\n\n    // Set CLK0 and CLK1 to output 14.1 MHz (705 MHz / 14.1 MHz = 50)\n    ms_frac.a = 50;\n    ms_frac.b = 0;\n    ms_frac.c = 1;\n    si5351_set_ms(SI5351_CLK0, ms_frac, 0, SI5351_OUTPUT_CLK_DIV_1, 0);\n    si5351_set_ms(SI5351_CLK1, ms_frac, 0, SI5351_OUTPUT_CLK_DIV_1, 0);\n\n    // Now we can set CLK1 to have a 90 deg phase shift by entering\n    // 50 in the CLK1 phase register, since the ratio of the PLL to\n    // the clock frequency is 50.\n    si5351_set_phase(SI5351_CLK0, 0);\n    si5351_set_phase(SI5351_CLK1, 50);\n\n    // We need to reset the PLL before they will be in phase alignment\n    si5351_pll_reset(SI5351_PLLA);\n\n\nConstraints\n-----------\n* Two multisynths cannot share a PLL with when both outputs are \u003c 1.024 MHz or \u003e= 112.5 MHz.\n\n* Setting phase will be limited in the extreme edges of the output tuning ranges. Because the phase register is 7-bits in size and is denominated in units representing 1/4 the PLL period, not all phases can be set for all output frequencies. For example, if you need a 90\u0026deg; phase shift, the lowest frequency you can set it at is 4.6875 MHz (600 MHz PLL/128).\n\nFunctions\n--------------\n###si5351_init()\n```\n/*\n * si5351_init(uint8_t xtal_load_c, uint32_t ref_osc_freq)\n *\n * Setup communications to the Si5351 and set the crystal\n * load capacitance.\n *\n * xtal_load_c - Crystal load capacitance. Use the SI5351_CRYSTAL_LOAD_*PF\n * defines in the header file\n * ref_osc_freq - Crystal/reference oscillator frequency in 1 Hz increments.\n * Defaults to 25000000 if a 0 is used here.\n *\n */\nvoid si5351_init(uint8_t xtal_load_c, uint32_t ref_osc_freq)\n```\n###si5351_set_freq()\n```\n/*\n * si5351_set_freq(uint64_t freq, enum si5351_clock clk)\n *\n * Uses SI5351_PLL_FIXED (900 MHz) for PLLA.\n * All multisynths are assigned to PLLA using this function.\n * PLLA is set to 900 MHz.\n * Restricted to outputs from 1 to 150 MHz.\n * If you need frequencies outside that range, use set_pll()\n * and set_ms() to set the synth dividers manually.\n *\n * freq - Output frequency in Hz\n * clk - Clock output\n *   (use the si5351_clock enum)\n */\nuint8_t si5351_set_freq(uint32_t freq, enum si5351_clock clk)\n```\n###si5351_set_pll()\n```\n/*\n * si5351_set_pll(struct Si5351Frac frac, enum si5351_pll target_pll)\n *\n * Set the specified PLL to a specific oscillation frequency by\n * using the Si5351Frac struct to specify the synth divider ratio.\n *\n * frac - PLL fractional divider values\n * target_pll - Which PLL to set\n *     (use the si5351_pll enum)\n */\nvoid si5351_set_pll(struct Si5351Frac frac, enum si5351_pll target_pll)\n```\n###si5351_set_ms()\n```\n/*\n * si5351_set_ms(enum si5351_clock clk, struct Si5351Frac frac, uint8_t int_mode, uint8_t r_div, uint8_t div_by_4)\n *\n * Set the specified multisynth parameters.\n *\n * clk - Clock output\n *   (use the si5351_clock enum)\n * frac - Synth fractional divider values\n * int_mode - Set integer mode\n *  Set to 1 to enable, 0 to disable\n * r_div - Desired r_div ratio\n * div_by_4 - Set Divide By 4 mode\n *   Set to 1 to enable, 0 to disable\n */\nvoid si5351_set_ms(enum si5351_clock clk, struct Si5351Frac frac, uint8_t int_mode, uint8_t r_div, uint8_t div_by_4)\n```\n###si5351_output_enable()\n```\n/*\n * si5351_output_enable(enum si5351_clock clk, uint8_t enable)\n *\n * Enable or disable a chosen output\n * clk - Clock output\n *   (use the si5351_clock enum)\n * enable - Set to 1 to enable, 0 to disable\n */\nvoid si5351_output_enable(enum si5351_clock clk, uint8_t enable)\n```\n###si5351_drive_strength()\n```\n/*\n * si5351_drive_strength(enum si5351_clock clk, enum si5351_drive drive)\n *\n * Sets the drive strength of the specified clock output\n *\n * clk - Clock output\n *   (use the si5351_clock enum)\n * drive - Desired drive level\n *   (use the si5351_drive enum)\n */\nvoid si5351_drive_strength(enum si5351_clock clk, enum si5351_drive drive)\n```\n###si5351_update_status()\n```\n/*\n * si5351_update_status(void)\n *\n * Call this to update the status structs, then access them\n * via the dev_status and dev_int_status global variables.\n *\n * See the header file for the struct definitions. These\n * correspond to the flag names for registers 0 and 1 in\n * the Si5351 datasheet.\n */\nvoid si5351_update_status(void)\n```\n###si5351_set_correction()\n```\n/*\n * si5351_set_correction(int32_t corr)\n *\n * Use this to set the oscillator correction factor to\n * EEPROM. This value is a signed 32-bit integer of the\n * parts-per-10 million value that the actual oscillation\n * frequency deviates from the specified frequency.\n *\n * The frequency calibration is done as a one-time procedure.\n * Any desired test frequency within the normal range of the\n * Si5351 should be set, then the actual output frequency\n * should be measured as accurately as possible. The\n * difference between the measured and specified frequencies\n * should be calculated in Hertz, then multiplied by 10 in\n * order to get the parts-per-10 million value.\n *\n * Since the Si5351 itself has an intrinsic 0 PPM error, this\n * correction factor is good across the entire tuning range of\n * the Si5351. Once this calibration is done accurately, it\n * should not have to be done again for the same Si5351 and\n * crystal.\n */\nvoid si5351_set_correction(int32_t corr)\n```\n###si5351_set_phase()\n```\n/*\n * si5351_set_phase(enum si5351_clock clk, uint8_t phase)\n *\n * clk - Clock output\n *   (use the si5351_clock enum)\n * phase - 7-bit phase word\n *   (in units of VCO/4 period)\n *\n * Write the 7-bit phase register. This must be used\n * with a user-set PLL frequency so that the user can\n * calculate the proper tuning word based on the PLL period.\n */\nvoid si5351_set_phase(enum si5351_clock clk, uint8_t phase)\n```\n###si5351_pll_reset()\n```\n/*\n * si5351_pll_reset(enum si5351_pll target_pll)\n *\n * target_pll - Which PLL to reset\n *     (use the si5351_pll enum)\n *\n * Apply a reset to the indicated PLL.\n */\nvoid si5351_pll_reset(enum si5351_pll target_pll)\n```\n###si5351_set_ms_source()\n```\n/*\n * si5351_set_ms_source(enum si5351_clock clk, enum si5351_pll pll)\n *\n * clk - Clock output\n *   (use the si5351_clock enum)\n * pll - Which PLL to use as the source\n *     (use the si5351_pll enum)\n *\n * Set the desired PLL source for a multisynth.\n */\nvoid si5351_set_ms_source(enum si5351_clock clk, enum si5351_pll pll)\n```\n###si5351_set_int()\n```\n/*\n * si5351_set_int(enum si5351_clock clk, uint8_t int_mode)\n *\n * clk - Clock output\n *   (use the si5351_clock enum)\n * enable - Set to 1 to enable, 0 to disable\n *\n * Set the indicated multisynth into integer mode.\n */\nvoid si5351_set_int(enum si5351_clock clk, uint8_t enable)\n```\n###si5351_set_clock_pwr()\n```\n/*\n * si5351_set_clock_pwr(enum si5351_clock clk, uint8_t pwr)\n *\n * clk - Clock output\n *   (use the si5351_clock enum)\n * pwr - Set to 1 to enable, 0 to disable\n *\n * Enable or disable power to a clock output (a power\n * saving feature).\n */\nvoid si5351_set_clock_pwr(enum si5351_clock clk, uint8_t pwr)\n```\n###si5351_set_clock_invert()\n```\n/*\n * si5351_set_clock_invert(enum si5351_clock clk, uint8_t inv)\n *\n * clk - Clock output\n *   (use the si5351_clock enum)\n * inv - Set to 1 to enable, 0 to disable\n *\n * Enable to invert the clock output waveform.\n */\nvoid si5351_set_clock_invert(enum si5351_clock clk, uint8_t inv)\n```\n###si5351_set_clock_source()\n```\n/*\n * si5351_set_clock_source(enum si5351_clock clk, enum si5351_clock_source src)\n *\n * clk - Clock output\n *   (use the si5351_clock enum)\n * src - Which clock source to use for the multisynth\n *   (use the si5351_clock_source enum)\n *\n * Set the clock source for a multisynth (based on the options\n * presented for Registers 16-23 in the Silicon Labs AN619 document).\n * Choices are XTAL, CLKIN, MS0, or the multisynth associated with\n * the clock output.\n */\nvoid si5351_set_clock_source(enum si5351_clock clk, enum si5351_clock_source src)\n```\n###si5351_set_clock_disable()\n```\n/*\n * si5351_set_clock_disable(enum si5351_clock clk, enum si5351_clock_disable dis_state)\n *\n * clk - Clock output\n *   (use the si5351_clock enum)\n * dis_state - Desired state of the output upon disable\n *   (use the si5351_clock_disable enum)\n *\n * Set the state of the clock output when it is disabled. Per page 27\n * of AN619 (Registers 24 and 25), there are four possible values: low,\n * high, high impedance, and never disabled.\n */\nvoid si5351_set_clock_disable(enum si5351_clock clk, enum si5351_clock_disable dis_state)\n```\n###si5351_set_clock_fanout()\n```\n/*\n * si5351_set_clock_fanout(enum si5351_clock_fanout fanout, uint8_t enable)\n *\n * fanout - Desired clock fanout\n *   (use the si5351_clock_fanout enum)\n * enable - Set to 1 to enable, 0 to disable\n *\n * Use this function to enable or disable the clock fanout options\n * for individual clock outputs. If you intend to output the XO or\n * CLKIN on the clock outputs, enable this first.\n *\n * By default, only the Multisynth fanout is enabled at startup.\n */\nvoid si5351_set_clock_fanout(enum si5351_clock_fanout fanout, uint8_t enable)\n```\n###si5351_write_bulk()\n```\nuint8_t si5351_write_bulk(uint8_t addr, uint8_t bytes, uint8_t *data)\n```\n###si5351_write()\n```\nuint8_t si5351_write(uint8_t addr, uint8_t data)\n```\n###si5351_read()\n```\nuint8_t si5351_read(uint8_t addr)\n```\n\nTokens\n------\nHere are the defines, structs, and enumerations you will find handy to use with the library.\n\nCrystal load capacitance:\n\n    SI5351_CRYSTAL_LOAD_6PF\n    SI5351_CRYSTAL_LOAD_8PF\n    SI5351_CRYSTAL_LOAD_10PF\n\nClock outputs:\n\n    enum si5351_clock {SI5351_CLK0, SI5351_CLK1, SI5351_CLK2, SI5351_CLK3,\n      SI5351_CLK4, SI5351_CLK5, SI5351_CLK6, SI5351_CLK7};\n\nPLL sources:\n\n    enum si5351_pll {SI5351_PLLA, SI5351_PLLB};\n\nDrive levels:\n\n    enum si5351_drive {SI5351_DRIVE_2MA, SI5351_DRIVE_4MA, SI5351_DRIVE_6MA, SI5351_DRIVE_8MA};\n\nClock sources:\n\n    enum si5351_clock_source {SI5351_CLK_SRC_XTAL, SI5351_CLK_SRC_CLKIN, SI5351_CLK_SRC_MS0, SI5351_CLK_SRC_MS};\n\nClock disable states:\n\n    enum si5351_clock_disable {SI5351_CLK_DISABLE_LOW, SI5351_CLK_DISABLE_HIGH, SI5351_CLK_DISABLE_HI_Z, SI5351_CLK_DISABLE_NEVER};\n\nClock fanout:\n\n    enum si5351_clock_fanout {SI5351_FANOUT_CLKIN, SI5351_FANOUT_XO, SI5351_FANOUT_MS};\n\nSynth fractional divider:\n\n    struct Si5351Frac\n    {\n      uint16_t a;\n      uint32_t b;\n      uint32_t c;\n    };\n\nStatus register:\n\n    struct Si5351Status\n    {\n      uint8_t SYS_INIT;\n      uint8_t LOL_B;\n      uint8_t LOL_A;\n      uint8_t LOS;\n      uint8_t REVID;\n    };\n\nInterrupt register:\n\n    struct Si5351IntStatus\n    {\n      uint8_t SYS_INIT_STKY;\n      uint8_t LOL_B_STKY;\n      uint8_t LOL_A_STKY;\n      uint8_t LOS_STKY;\n    };\n\nRaw Commands\n------------\nIf you need to read and write raw data to the Si5351, there is public access to the library's si5351_read(), si5351_write(), and si5351_write_bulk() methods.\n","funding_links":[],"categories":["C"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetherkit%2Fsi5351-avr-tiny-minimal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fetherkit%2Fsi5351-avr-tiny-minimal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetherkit%2Fsi5351-avr-tiny-minimal/lists"}