| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
CS48L32 bảng dữ liệu(PDF) 93 Page - Cirrus Logic |
|
|
|||||||||||||||||||||||||||||
CS48L32 bảng dữ liệu(HTML) 93 Page - Cirrus Logic |
|
93 / 192 page ![]() DS1219F4 Cirrus Logic 93 CS48L32 4.5 DSP Peripheral Control 4.5.4 DSP GPIO The DSP GPIO function provides an advanced I/O capability, supporting enhanced flexibility for signal-processing applications. 4.5.4.1 Overview The CS48L32 supports up to 16 GPIO pins, which can be assigned to application-specific functions. There are two dedicated GPIO pins; the remaining GPIOs are implemented as alternate functions to a pin-specific capability. The GPIOs can be used to provide status outputs and control signals to external hardware; the supported functions include interrupt output, FLL clock output, and PWM-coded audio channels; see Section 4.10. The GPIOs can support miscellaneous logic input and output, interfacing directly with the integrated DSP, or with the host application software. A basic level of I/O functionality is described in Section 4.10, under the configuration where GPn_ FN = 0x001. The GPn_FN field selects the functionality for the respective pin, GPIOn. The DSP GPIO pins are accessed using maskable sets of I/O control registers; this allows the selected combinations of GPIOs to be controlled with ease, regardless of how the allocation of GPIO pins has been implemented in hardware. In a typical use case, one GPIO mask is defined for each DSP function; this provides a highly efficient mechanism for the DSP to independently access the respective input and output signals. 4.5.4.2 DSP GPIO Control The DSP GPIO function is selected by setting GPn_FN = 0x002 for the respective GPIO pin (where n identifies the applicable GPIOn pin). Each DSP GPIO is controlled using bits that determine the direction (input/output) and the logic state (0/1) of the pin. These bits are replicated in eight control sets; each which can determine the logic level of any DSP GPIO. Mask bits are provided within each control set, to determine which of the control sets has control of each DSP GPIO. To avoid logic contention, a DSP GPIO output must be controlled (unmasked) in a maximum of one control set at any time. Note that write access to the direction control bits (DSPGPn_SETx_DIR) and level control bits (DSPGPn_SETx_LVL) is only valid when the channel (DSPGPn) is unmasked in the respective control set. Writes to these fields are implemented for the unmasked DSP GPIOs, and are ignored in respect of the masked DSP GPIOs. Note that the level control bits (DSPGPn_SETx_LVL) provide output level control only—they cannot be used to read the status of DSP GPIO inputs. The logic level of the unmasked DSP GPIO outputs in any control set can be configured using a single register write. Writing to the output level control registers determines the logic level of the unmasked DSP GPIOs in that set only; all other outputs are unaffected. DSP GPIO status bits are provided, indicating the logic level of every input or output pin that is configured as a DSP GPIO. The DSPGPn_STS bits also provide logic-level indication for any pin that is configured as a GPIO input, with GPn_ FN = 0x001.Note that there is only one set of DSP GPIO status bits. base address + 0x14 TIMERn_COUNT_ READBACK 31:0 TIMERn_CUR_ COUNT[31:0] 0x0000 Timer Current Count value base address + 0x18 TIMERn_DSP_ CLOCK_CONFIG 15:0 TIMERn_ DSPCLK_FREQ_ SEL[15:0] 0x0000 Timer Reference Frequency Select (valid if TIMERn_REFCLK_SRC = 0x0) Coded as LSB = 1/64 MHz, Valid from 5.6 MHz to 148 MHz. The timer reference frequency must be less than or equal to the SYSCLK frequency. The timer reference is generated by division of SYSCLK, and may differ from the selected frequency. The timer reference frequency can be read from TIMERn_DSPCLK_FREQ_STS. Timer must be stopped (TIMERn_RUNNING_STS=0) when updating this field. base address + 0x1C TIMERn_DSP_ CLOCK_STATUS 15:0 TIMERn_ DSPCLK_FREQ_ STS[15:0] 0x0000 Timer Reference Frequency (Read only) Only valid if TIMERn_REFCLK_SRC = 0x0. Coded as LSB = 1/64 MHz. Table 4-32. General-Purpose Timer (TIMERn) Control (Cont.) Register Address Bit Label Default Description |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |