Home
last modified time | relevance | path

Searched refs:num_key (Results 1 – 3 of 3) sorted by relevance

/hal_espressif-3.4.0/components/efuse/test/
Dtest_efuse_keys.c31 for (esp_efuse_block_t num_key = EFUSE_BLK_KEY0; num_key < EFUSE_BLK_KEY_MAX; ++num_key) { variable
32 … printf("EFUSE_BLK_KEY%d, RD, WR, PURPOSE_USER, PURPOSE_USER WR ... \n", num_key - EFUSE_BLK_KEY0);
34 TEST_ESP_OK(esp_efuse_read_field_blob(esp_efuse_get_key(num_key), &key, sizeof(key) * 8));
36 TEST_ASSERT_FALSE(esp_efuse_get_key_dis_read(num_key));
37 TEST_ASSERT_FALSE(esp_efuse_get_key_dis_write(num_key));
38 TEST_ASSERT_EQUAL(ESP_EFUSE_KEY_PURPOSE_USER, esp_efuse_get_key_purpose(num_key));
39 TEST_ASSERT_FALSE(esp_efuse_get_keypurpose_dis_write(num_key));
47 …printf("EFUSE_BLK_KEY%d, RD, WR, PURPOSE_USER, PURPOSE_USER WR ... OK\n", num_key - EFUSE_BLK_KEY0…
54 static esp_err_t s_check_key(esp_efuse_block_t num_key, void* wr_key) in s_check_key() argument
57 esp_efuse_purpose_t purpose = esp_efuse_get_key_purpose(num_key); in s_check_key()
[all …]
/hal_espressif-3.4.0/examples/bluetooth/bluedroid/ble/ble_hid_device_demo/main/
Desp_hidd_prf_api.c108 …yboard_value(uint16_t conn_id, key_mask_t special_key_mask, uint8_t *keyboard_cmd, uint8_t num_key) in esp_hidd_send_keyboard_value() argument
110 if (num_key > HID_KEYBOARD_IN_RPT_LEN - 2) { in esp_hidd_send_keyboard_value()
119 for (int i = 0; i < num_key; i++) { in esp_hidd_send_keyboard_value()
Desp_hidd_prf_api.h159 …board_value(uint16_t conn_id, key_mask_t special_key_mask, uint8_t *keyboard_cmd, uint8_t num_key);