Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
target_family_descriptor Struct Reference
Defines all characteristics of a device family. More...
#include <target_family.h>
Data Fields | |
| uint16_t | family_id |
| reset_type_t | default_reset_type |
| uint32_t | soft_reset_type |
| void(* | target_before_init_debug )(void) |
| void(* | prerun_target_config )(void) |
| uint8_t(* | target_unlock_sequence )(void) |
| uint8_t(* | security_bits_set )(uint32_t addr, uint8_t *data, uint32_t size) |
| uint8_t(* | target_set_state )(target_state_t state) |
| void(* | swd_set_target_reset )(uint8_t asserted) |
| uint8_t(* | validate_bin_nvic )(const uint8_t *buf) |
| uint8_t(* | validate_hexfile )(const uint8_t *buf) |
| uint32_t | apsel |
Detailed Description
Defines all characteristics of a device family.
Definition at line 108 of file target_family.h.
Field Documentation
| uint32_t apsel |
APSEL for the family
Definition at line 120 of file target_family.h.
Target family can select predefined reset from kHardwareReset and kSoftwareReset
Definition at line 110 of file target_family.h.
| uint16_t family_id |
Use to select or identify target family from defined target family or custom ones
Definition at line 109 of file target_family.h.
| void(* prerun_target_config)(void) |
Target specific initialization
Definition at line 113 of file target_family.h.
| uint8_t(* security_bits_set)(uint32_t addr, uint8_t *data, uint32_t size) |
Check security bits in the programmable flash region
Definition at line 115 of file target_family.h.
| uint32_t soft_reset_type |
Families can override software reset type to VECTRESET or SYSRESETREQ
Definition at line 111 of file target_family.h.
| void(* swd_set_target_reset)(uint8_t asserted) |
Families can customize how to send reset to the target
Definition at line 117 of file target_family.h.
| void(* target_before_init_debug)(void) |
Target dependant function before debug initialization
Definition at line 112 of file target_family.h.
| uint8_t(* target_set_state)(target_state_t state) |
Families can customize target debug states
Definition at line 116 of file target_family.h.
| uint8_t(* target_unlock_sequence)(void) |
Unlock targets that can enter lock state
Definition at line 114 of file target_family.h.
| uint8_t(* validate_bin_nvic)(const uint8_t *buf) |
Validate a bin file to be flash by drag and drop
Definition at line 118 of file target_family.h.
| uint8_t(* validate_hexfile)(const uint8_t *buf) |
Validate a hex file to be flash by drag and drop
Definition at line 119 of file target_family.h.
Generated on Tue Jul 12 2022 15:37:38 by
1.7.2