ADN4604 module interface implementations.
More...
#include "FreeRTOS.h"
#include "port.h"
#include "adn4604.h"
#include "i2c.h"
#include "i2c_mapping.h"
ADN4604 module interface implementations.
- Author
- Henrique Silva henri.nosp@m.que..nosp@m.silva.nosp@m.@lnl.nosp@m.s.br
◆ 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 |
◆ con