ADN4604 module interface declarations.
More...
Go to the source code of this file.
ADN4604 module interface declarations.
- Author
- Henrique Silva henri.nosp@m.que..nosp@m.silva.nosp@m.@lnl.nosp@m.s.br
◆ ADN_RESET_REG
| #define ADN_RESET_REG 0x00 |
◆ ADN_TERMINATION_CTL_REG
| #define ADN_TERMINATION_CTL_REG 0xF0 |
◆ ADN_TX_CON_OUT0
| #define ADN_TX_CON_OUT0 0x20 |
◆ ADN_XPT_BROADCAST
| #define ADN_XPT_BROADCAST 0x82 |
◆ ADN_XPT_MAP0
| #define ADN_XPT_MAP0 0x00 |
◆ ADN_XPT_MAP0_CON_REG
| #define ADN_XPT_MAP0_CON_REG 0x90 |
◆ ADN_XPT_MAP1
| #define ADN_XPT_MAP1 0x01 |
◆ ADN_XPT_MAP1_CON_REG
| #define ADN_XPT_MAP1_CON_REG 0x98 |
◆ ADN_XPT_MAP_TABLE_SEL_REG
| #define ADN_XPT_MAP_TABLE_SEL_REG 0x81 |
◆ ADN_XPT_STATUS_REG
| #define ADN_XPT_STATUS_REG 0xB0 |
◆ ADN_XPT_UPDATE_REG
| #define ADN_XPT_UPDATE_REG 0x80 |
◆ adn_connect_cfg_t
◆ adn4604_term_ctl
| Enumerator |
|---|
| RXW_TERM | |
| RXE_TERM | |
| TXS_TERM | |
| TXN_TERM | |
◆ adn4604_tx_ctl
| Enumerator |
|---|
| TX_DISABLED | |
| TX_STANDBY | |
| TX_SQUELCHED | |
| TX_ENABLED | |
◆ __attribute__()
| struct __attribute__ |
( |
(__packed__) | | ) |
|
◆ adn4604_active_map()
| mmc_err adn4604_active_map |
( |
uint8_t | map | ) |
|
Sets the active map on the IC.
- Parameters
-
◆ adn4604_out_status()
Reads the outputs current connections.
- Returns
- Outputs current connection
◆ adn4604_reset()
◆ adn4604_termination_ctl()
| mmc_err adn4604_termination_ctl |
( |
uint8_t | cfg | ) |
|
Controls the inputs/outputs line termination.
- Parameters
-
◆ adn4604_tx_control()
| mmc_err adn4604_tx_control |
( |
uint8_t | output, |
|
|
uint8_t | tx_mode ) |
Sets the output status.
- Parameters
-
| output | Output number (0 to 15) |
| tx_mode | Selected mode: (TX_DISABLED, TX_STANDBY, TX_SQUELCHED or TX_ENABLED) |
◆ adn4604_update()
Activates the current stored configuration.
- Note
- The Update pin has precedence over the software register, so if the Update pin is asserted, but the low-to-high step doesn't occur, you won't be able to update the IC configuration
◆ adn4604_xpt_config()
Configures the cross-connection map.
- Parameters
-
| map | Selected map to configure (0 or 1) |
| xpt_con | Outputs assignment |
◆ adn_connect_map_t