| Electronic Components Datasheet Search |
|
C8051F337 Datasheet(PDF) 216 Page - Silicon Laboratories |
|
|
|||||||||||||||||||||||||||||
C8051F337 Datasheet(HTML) 216 Page - Silicon Laboratories |
|
216 / 234 page ![]() C8051F336/7/8/9 216 Rev. 0.2 25.3.4. Frequency Output Mode Frequency Output Mode produces a programmable-frequency square wave on the module’s associated CEXn pin. The capture/compare module high byte holds the number of PCA clocks to count before the out- put is toggled. The frequency of the square wave is then defined by Equation 25.1. F CEXn F PCA 2 PCA0CPHn × ----------------------------------------- = Note: A value of 0x00 in the PCA0CPHn register is equal to 256 for this equation. Equation 25.1. Square Wave Frequency Output Where FPCA is the frequency of the clock selected by the CPS2–0 bits in the PCA mode register, PCA0MD. The lower byte of the capture/compare module is compared to the PCA counter low byte; on a match, CEXn is toggled and the offset held in the high byte is added to the matched value in PCA0CPLn. Frequency Output Mode is enabled by setting the ECOMn, TOGn, and PWMn bits in the PCA0CPMn reg- ister. Note that the MATn bit should normally be set to ‘0’ in this mode. If the MATn bit is set to ‘1’, the CCFn flag for the channel will be set when the 16-bit PCA0 counter and the 16-bit capture/compare register for the channel are equal. 8-bit Comparator PCA0L Enable PCA Timebase match PCA0CPHn 8-bit Adder PCA0CPLn Adder Enable CEXn Crossbar Port I/O Toggle 0 1 TOGn 00 0 x PCA0CPMn P W M 1 6 n E C O M n E C C F n T O G n P W M n C A P P n C A P N n M A T n x ENB ENB 0 1 Write to PCA0CPLn Write to PCA0CPHn Reset Figure 25.7. PCA Frequency Output Mode |
|
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 |