Select one of the symbols to view example projects that use it.
 
Outline
#include <stdint.h>
esp_rom_regi2c_read(uint8_t, uint8_t, uint8_t);
esp_rom_regi2c_read_mask(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t);
esp_rom_regi2c_write(uint8_t, uint8_t, uint8_t, uint8_t);
esp_rom_regi2c_write_mask(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t);
Files
loading (3/5)...
SourceVuESP-IDF Framework and ExamplesESP-IDFcomponents/esp_rom/include/esp_rom_regi2c.h
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* * SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 *//* ... */ /** * Espressif private functions. Not for peripherals. Don't use it in your app. *//* ... */ #include <stdint.h> #ifdef __cplusplus extern "C" { #endif /** * @brief Read internal register * * @param block Block of the register * @param host_id Host of the register * @param reg_add Address of the register * @return uint8_t Register value *//* ... */ uint8_t esp_rom_regi2c_read(uint8_t block, uint8_t host_id, uint8_t reg_add); /** * @brief Read internal register, in bits * * @param block Block of the register * @param host_id Host of the register * @param reg_add Address of the register * @param msb MSB of the register * @param lsb LSB of the register * @return uint8_t Register value *//* ... */ uint8_t esp_rom_regi2c_read_mask(uint8_t block, uint8_t host_id, uint8_t reg_add, uint8_t msb, uint8_t lsb); /** * @brief Write internal register * * @param block Block of the register * @param host_id Host of the register * @param reg_add Address of the register * @param data Value to write *//* ... */ void esp_rom_regi2c_write(uint8_t block, uint8_t host_id, uint8_t reg_add, uint8_t data); /** * @brief Write internal register, in bits * * @param block Block of the register * @param host_id Host of the register * @param reg_add Address of the register * @param msb MSB of the register * @param lsb LSB of the register * @param data Value to write *//* ... */ void esp_rom_regi2c_write_mask(uint8_t block, uint8_t host_id, uint8_t reg_add, uint8_t msb, uint8_t lsb, uint8_t data); #ifdef __cplusplus }{...} #endif
Details