nrf5/hal: Updating twi driver with template functions.

This commit is contained in:
Glenn Ruben Bakke 2017-01-31 22:46:04 +01:00
parent 4a568ec1ed
commit 4b38644531
1 changed files with 15 additions and 0 deletions

View File

@ -38,6 +38,21 @@ static const uint32_t hal_twi_frequency_lookup[] = {
void hal_twi_master_init(NRF_TWI_Type * p_instance, hal_twi_init_t const * p_twi_init) { void hal_twi_master_init(NRF_TWI_Type * p_instance, hal_twi_init_t const * p_twi_init) {
} }
void hal_twi_master_tx(NRF_TWI_Type * p_instance,
uint8_t addr,
uint16_t transfer_size,
const uint8_t * tx_data,
bool stop) {
}
void hal_twi_master_rx(NRF_TWI_Type * p_instance,
uint8_t addr,
uint16_t transfer_size,
const uint8_t * rx_data) {
}
void hal_twi_slave_init(NRF_TWI_Type * p_instance, hal_twi_init_t const * p_twi_init) { void hal_twi_slave_init(NRF_TWI_Type * p_instance, hal_twi_init_t const * p_twi_init) {
} }