rename I2C terminology

This commit is contained in:
hathach committed 2020-08-27 12:18:23 +07:00
1 parent 7993737b59
commit 132f11de33
8 files changed
+24 -24

No files matched your search

+2 -2
View File
@@ -46,7 +46,7 @@ TwoWire::TwoWire(NRF_TWIM_Type * p_twim, NRF_TWIS_Type * p_twis, IRQn_Type IRQn,
}
void TwoWire::begin(void) {
//Master Mode
//Main Mode
master = true;
*pincfg_reg(_uc_pinSCL) = ((uint32_t)GPIO_PIN_CNF_DIR_Input << GPIO_PIN_CNF_DIR_Pos)
@@ -72,7 +72,7 @@ void TwoWire::begin(void) {
}
void TwoWire::begin(uint8_t address) {
//Slave mode
//Secondary mode
master = false;
*pincfg_reg(_uc_pinSCL) = ((uint32_t)GPIO_PIN_CNF_DIR_Input << GPIO_PIN_CNF_DIR_Pos)