nrf5/hal: Updating twi driver with template functions.
This commit is contained in:
parent
4a568ec1ed
commit
4b38644531
@ -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_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) {
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user