Arrow / Mbed OS DAPLink Reset
Embed: (wiki syntax)

« Back to documentation index

target_family.c File Reference

target_family.c File Reference

Implementation of target_family.h. More...

Go to the source code of this file.

Functions

uint8_t target_set_state (target_state_t state)
 Reset the target into a new state.
void swd_set_target_reset (uint8_t asserted)
 Controls reset of the target.
uint32_t target_get_apsel ()
 Get the APSEL for the AHB-AP to use for controlling the target.

Detailed Description

Implementation of target_family.h.

DAPLink Interface Firmware Copyright (c) 2009-2019, ARM Limited, All Rights Reserved SPDX-License-Identifier: Apache-2.0

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file target_family.c.


Function Documentation

void swd_set_target_reset ( uint8_t  asserted )

Controls reset of the target.

Definition at line 145 of file target_family.c.

uint32_t target_get_apsel ( void   )

Get the APSEL for the AHB-AP to use for controlling the target.

Definition at line 154 of file target_family.c.

uint8_t target_set_state ( target_state_t  state )

Reset the target into a new state.

Used to prepare the target for some operation, or release it for user control.

Definition at line 117 of file target_family.c.