RTEMS
5.1
|
#include "board.h"
Go to the source code of this file.
Macros | |
#define | CS2100_SLAVE_ADDRESS 0x4E |
#define | CS2100_REG_ID 0x01 |
#define | CS2100_REG_CTRL 0x02 |
#define | CS2100_REG_DEV_CFG1 0x03 |
#define | CS2100_REG_CFG 0x05 |
#define | CS2100_REG_32_BIT_RATIO_1 0x06 |
#define | CS2100_REG_32_BIT_RATIO_2 0x07 |
#define | CS2100_REG_32_BIT_RATIO_3 0x08 |
#define | CS2100_REG_32_BIT_RATIO_4 0x09 |
#define | CS2100_REG_FUNC_CFG1 0x16 |
#define | CS2100_REG_FUNC_CFG2 0x17 |
#define | CS2100_REG_FUNC_CFG3 0x1E |
Functions | |
uint16_t | CS2100_Read (Twid *pTwid, uint32_t device, uint32_t regAddr) |
void | CS2100_Write (Twid *pTwid, uint32_t device, uint32_t regAddr, uint16_t data) |
uint8_t | CS2100_Init (Twid *pTwid, uint32_t device, uint32_t PCK) |
Implementation WM8904 driver.
#define CS2100_REG_32_BIT_RATIO_1 0x06 |
Power management control 0 register
#define CS2100_REG_32_BIT_RATIO_2 0x07 |
Power management control 0 register
#define CS2100_REG_32_BIT_RATIO_3 0x08 |
Power management control 0 register
#define CS2100_REG_32_BIT_RATIO_4 0x09 |
Power management control 0 register
#define CS2100_REG_CFG 0x05 |
Bias control 1 register
#define CS2100_REG_CTRL 0x02 |
VMID control 0 register
#define CS2100_REG_DEV_CFG1 0x03 |
MIC Bias control 0 register
#define CS2100_REG_FUNC_CFG1 0x16 |
Power management control 2 register
#define CS2100_REG_FUNC_CFG2 0x17 |
Power management control 3 register
#define CS2100_REG_FUNC_CFG3 0x1E |
Power management control 3 register
#define CS2100_REG_ID 0x01 |
ID and Rev register